LaravelPackages.net
Acme Inc.
Toggle sidebar
naifmhd/gazette

A package to fetch Jobs and Tenders from Gazette.gov.mv

2.954
1
v0.7.0
About naifmhd/gazette

naifmhd/gazette is a Laravel package for a package to fetch jobs and tenders from gazette.gov.mv. It currently has 1 GitHub stars and 2.954 downloads on Packagist (latest version v0.7.0). Install it with composer require naifmhd/gazette. Discover more Laravel packages by naifmhd or browse all Laravel packages to compare alternatives.

Last updated

Gazette

Latest Version on Packagist Total Downloads GitHub Tests Action Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require naifmhd/gazette

Setting up the Gazette API credentials

Add your Gazette API Key and CLIENT ID and CLIENT SECRET to your config/services.php. You can refer to how to get the API Keys from the (Official Gazette API Documentation)[https://api.gazette.gov.mv/].

// config/services.php
...
'gazette' => [
        'grant_type' => env('GAZETTE_GRANT_TYPE', 'client_credentials'),
        'client_id' => env('GAZETTE_CLIENT_ID'),
        'client_secret' => env('GAZETTE_CLIENT_SECRET'),
    ],
...

Usage

use Gazette;

$response = Gazette::iulaans();

Available Methods

Gazette::iulaans(int $page = null);
Gazette::iulaan(int $id);
Gazette::iulaanByType(IulaanType::VAZEEFA, int $page = null);
Gazette::vazeefaByType(VazeefaType::CONSTRUCTION, int $page = null);
Gazette::unpublished();

Iulaan Types

IulaanType::MASAKKAIY;
IulaanType::GANNAN_BEYNUNVAA;
IulaanType::KUYYAH_DHINUN;
IulaanType::KUYYAH_HIFUN;
IulaanType::VAZEEFA;
IulaanType::THAMREENU;
IulaanType::NEELAN;
IulaanType::AANMU_MAULOOMAATHU;
IulaanType::DHENNEVUN;
IulaanType::MUBAARAAI;
IulaanType::NOOS_BAYAAN;
IulaanType::INSURANCE;

Vazeefa Types

VazeefaType::ADMINISTRATION;
VazeefaType::PUBLIC_RELATIONS;
VazeefaType::CONSTRUCTION;
VazeefaType::EDUCATION;
VazeefaType::FINANCE;
VazeefaType::HEALTH;
VazeefaType::HUMAN_RESOURCE;
VazeefaType::INFORMATION_TECHNOLOGY;
VazeefaType::INSURANCE;
VazeefaType::PUBLISHING_JOURNALISM;
VazeefaType::TRANSPORT;
VazeefaType::LEGAL;
VazeefaType::TECHNICAL;
VazeefaType::CUSTOMER_SERVICE;
VazeefaType::MAINTENANCE;
VazeefaType::SUPPORT_STAFF;
VazeefaType::MECHANICAL;
VazeefaType::MANAGEMENT;

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.

Comments