Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 21 days 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 (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-26T07:54:57.000Z (over 1 year ago)
- Last Synced: 2024-12-01T08:54:57.815Z (22 days 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.
[![Latest Version on Packagist](https://img.shields.io/packagist/v/nazmulpcc/porichoy.svg?style=flat-square)](https://packagist.org/packages/happihub/porichoy)
[![Total Downloads](https://img.shields.io/packagist/dt/nazmulpcc/porichoy.svg?style=flat-square)](https://packagist.org/packages/happihub/porichoy)
![GitHub Actions](https://github.com/nazmulpcc/porichoy/actions/workflows/main.yml/badge.svg)## 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 [email protected] 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.