deniztezcan / laravel-parcel2send
Laravel package for the Parcel2Send API
1.0.0
2021-04-12 09:59 UTC
Requires
- guzzlehttp/guzzle: ^6.3
- illuminate/support: 5.8.*|^6.0|^7.0|^8.0
README
A Laravel package for the Parcel2Send API.
Instalation
composer require deniztezcan/laravel-parcel2send
Add a ServiceProvider to your providers array in config/app.php
:
'providers' => [ //other things here DenizTezcan\Parcel2Send\Parcel2SendServiceProvider::class, ];
Add the facade to the facades array:
'aliases' => [ //other things here 'Parcel2Send' => DenizTezcan\Parcel2Send\Facades\Parcel2Send::class, ];
Finally, publish the configuration files:
php artisan vendor:publish --provider="DenizTezcan\Parcel2Send\Parcel2SendServiceProvider"
Configuration
Please set your API: P2S_PUBLICKEY
and P2S_SECRETKEY
in the .env