nazmulpcc/porichoy

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

v0.1.0 2023-07-26 07:52 UTC

This package is auto-updated.

Last update: 2024-04-26 09:40:50 UTC


README

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.