laravel-parcel2send maintained by deniztezcan
Description
Laravel package for the Parcel2Send API
Author
Last update
2021/04/12 11:59
(dev-main)
License
Downloads
26
Tags
Laravel Parcel2Send API
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