https://github.com/nazmulpcc/porichoy
A package to access https://porichoy.gov.bd services via their official api.
https://github.com/nazmulpcc/porichoy
Last synced: about 1 year ago
JSON representation
A package to access https://porichoy.gov.bd services via their official api.
- Host: GitHub
- URL: https://github.com/nazmulpcc/porichoy
- Owner: nazmulpcc
- License: mit
- Created: 2023-07-26T07:27:46.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-26T07:54:57.000Z (almost 3 years ago)
- Last Synced: 2025-03-23T23:13:56.219Z (about 1 year ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Access porichoy.gov.bd from your PHP/Laravel application.
[](https://packagist.org/packages/happihub/porichoy)
[](https://packagist.org/packages/happihub/porichoy)

## Installation
You can install the package via composer:
```bash
composer require nazmulpcc/porichoy
```
## Usage
```php
$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:
```text
PORICHOY_API_HOST=
PORICHOY_API_KEY=
```
You can also publish the config file if you need.
```bash
php artisan vendor:publish --tag=porichoy-config
```
### Testing
```bash
composer test
```
### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email nazmul@happihub.com instead of using the issue tracker.
## Credits
- [Nazmul Alam](https://github.com/nazmulpcc)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.