comyo-media/shipcloud-laravel

There is no license information available for the latest version (1.0) of this package.

shipcloud laravel wrapper

1.0 2015-08-16 15:52 UTC

This package is auto-updated.

Last update: 2024-10-06 22:21:17 UTC


README

An easy-to-use PHP package to communicate with shipcloud's API & Laravel 5+.

Installation

  1. Install the comyo-media/shipcloud-laravel package
$ composer require comyo-media/shipcloud-laravel
  1. 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,
)
  1. Create the configuration file config/shipcloud.php:
$ php artisan vendor:publish
  1. Configure your api_key in your .env file:
SHIPCLOUD_API_KEY=YOUR-API-KEY-HERE

Reporting Bugs or Feature Requests

Please report any bugs or feature requests on the github issues page for this project here:

https://github.com/comyo-media/shipcloud-laravel/issues