An easy-to-use PHP package to communicate with shipcloud's API & Laravel 5+.
- Install the
comyo-media/shipcloud-laravel
package
$ composer require comyo-media/shipcloud-laravel
- Update
config/app.php
to activate shipcloud
# Add `ShipcloudLaravelServiceProvider` to the `providers` array
'providers' => array(
...
ComyoMedia\ShipcloudLaravel\ShipcloudLaravelServiceProvider::class,
)
# Add the `ShipcloudFacade` to the `aliases` array
'aliases' => array(
...
'Shipcloud' => ComyoMedia\ShipcloudLaravel\ShipcloudFacade::class,
)
- Create the configuration file
config/shipcloud.php
:
$ php artisan vendor:publish
- Configure your
api_key
in your.env
file:
SHIPCLOUD_API_KEY=YOUR-API-KEY-HERE
Please report any bugs or feature requests on the github issues page for this project here: