Download the PHP package hampel/synergy-wholesale-laravel without Composer
On this page you can find all versions of the php package hampel/synergy-wholesale-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hampel/synergy-wholesale-laravel
More information about hampel/synergy-wholesale-laravel
Files in hampel/synergy-wholesale-laravel
Package synergy-wholesale-laravel
Short Description A Laravel service provider for accessing Synergy Wholesale via PHP
License MIT
Homepage https://bitbucket.org/hampel/synergy-wholesale-laravel
Informations about the package synergy-wholesale-laravel
Synergy Wholesale API Wrapper for Laravel
Synergy Wholesale API wrapper using SoapClient and packaged as a Laravel service provider
By Simon Hampel
This package provides a simple Laravel service provider and facade for our base Synergy Wholesale API wrapper package hampel/synergy-wholesale - please refer to the documentation about that package for instructions on how to use this API wrapper
Installation
To install using composer, run the following command:
composer require hampel/synergy-wholesale-laravel
You must generate an API key using the Synergy Wholesale control panel, which involves adding your web server's IP
address to the whitelist - and then specify that key and your reseller ID in your .env
file:
Upgrading
Upgrading to v1.6 (Laravel v5.8)
In line with changes made in Laravel v5.8, cache expiry times are now specified in seconds rather than minutes. Be sure
to adjust the value of all cache entries in the configsynergy-wholesale.cache.*.expiry
to suit, if you have
over-ridden the defaults.
Usage
Use Laravel's App facade to gain access to the service provider in your code:
... or chain them:
... or just use the Facade instead:
Refer to the usage examples and code in the Synergy Wholesale API Wrapper repository for more details about how to use the library.
All versions of synergy-wholesale-laravel with dependencies
hampel/synergy-wholesale Version ^1.0
php Version >=5.5.9