Download the PHP package coolcodemy/yourmembership-laravel-api without Composer
On this page you can find all versions of the php package coolcodemy/yourmembership-laravel-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download coolcodemy/yourmembership-laravel-api
More information about coolcodemy/yourmembership-laravel-api
Files in coolcodemy/yourmembership-laravel-api
Package yourmembership-laravel-api
Short Description YourMembership.com PHP API for Laravel
License MIT
Informations about the package yourmembership-laravel-api
YourMembership-Laravel-API
This package in a work in progress, it is based on the code YM-API.
This package implements a PHP wrapper to work with http://www.yourmembership.com/company/api-reference/
Laravel Installation (5.2+)
Require this package with composer by adding the following to your composer file:
Then run composer update
to download the package.
Or use
After updating composer, add the service provider to the providers
array in config/app.php
Publish the config for the package
Fill in your API_KEY, SECRET_API_KEY and SA_PASSCODE inside config/yourmembership-laravel-api.php
.
Usage
Notes on YourMembership session
You don't need to generate session for authentication as this package will do it for you. The SessionID is saved inside Laravel cache for 15 minutes.
Returning the RAW XML results from YourMembership
This will return the results as XML and set the return header to XML for the browser to properly print valid XML.
All versions of yourmembership-laravel-api with dependencies
illuminate/support Version ^5.2
illuminate/http Version ^5.2
illuminate/cache Version ^5.2
guzzlehttp/guzzle Version ~6.0