Skip to content

comyo-media/shipcloud-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shipcloud-laravel

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