nazmulpcc / porichoy

A package to access https://porichoy.gov.bd services via their official api.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Access porichoy.gov.bd from your PHP/Laravel application.

Latest Version on Packagist Total Downloads GitHub Actions

Installation

You can install the package via composer:

composer require nazmulpcc/porichoy

Usage

$porichoy = new \Porichoy\Porichoy($api_host, $api_key); // sandbox mode
$porichoy = new \Porichoy\Porichoy($api_host, $api_key, false); // live mode

Or if you are using Laravel, you can use these env variables:

PORICHOY_API_HOST=
PORICHOY_API_KEY=

You can also publish the config file if you need.

php artisan vendor:publish --tag=porichoy-config

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email nazmul@happihub.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

A package to access https://porichoy.gov.bd services via their official api.

License:MIT License


Languages

Language:PHP 100.0%