https://github.com/nazmulpcc/paperfly
A PHP/Laravel package for Paperfly delivery service
https://github.com/nazmulpcc/paperfly
Last synced: about 1 year ago
JSON representation
A PHP/Laravel package for Paperfly delivery service
- Host: GitHub
- URL: https://github.com/nazmulpcc/paperfly
- Owner: nazmulpcc
- License: mit
- Created: 2023-01-26T11:49:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-26T16:03:37.000Z (over 3 years ago)
- Last Synced: 2025-03-23T23:13:56.236Z (about 1 year ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# A PHP/Laravel package for Paperfly delivery service
[](https://packagist.org/packages/nazmulpcc/paperfly)
[](https://github.com/nazmulpcc/paperfly/actions?query=workflow%3Arun-tests+branch%3Amain)
[](https://github.com/nazmulpcc/paperfly/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[](https://packagist.org/packages/nazmulpcc/paperfly)
## Installation
You can install the package via composer:
```bash
composer require nazmulpcc/paperfly
```
You can publish the config file with:
```bash
php artisan vendor:publish --tag="paperfly-config"
```
## Usage
```php
$paperfly = new \Nazmul\Paperfly\Paperfly($username, $password, $paperflyKey); // create manually
$paperfly = app()->make(\Nazmul\Paperfly\Paperfly::class); // resolve using the container
\Nazmul\Paperfly\Facades\Paperfly::trackOrder($orderReference, $merchantCode); // using the facade
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Nazmul Alam](https://github.com/nazmulpcc)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.