deniztezcan/laravel-parcel2send

Laravel package for the Parcel2Send API

1.0.0 2021-04-12 09:59 UTC

This package is auto-updated.

Last update: 2024-04-12 17:01:27 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License Maintainability

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