Download the PHP package laveto/laravel-multivers without Composer
On this page you can find all versions of the php package laveto/laravel-multivers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laveto/laravel-multivers
More information about laveto/laravel-multivers
Files in laveto/laravel-multivers
Package laravel-multivers
Short Description Connect to Multivers API
License MIT
Homepage https://github.com/laveto/laravelmultivers
Informations about the package laravel-multivers
Laravel-Multivers
Easily communicate with the Unit4 Multivers Web API.
Installation
Via Composer
Publish config file
Update the config file, it is possible to define multiple connections. See below for an example of a defined connection.
The refresh_token
is obtained via the "RefreshTokenGenerator" which you can download here.
Usage
If you didn't add the library as an allias in your config/app.php then you need to add the following line at the top of your php file.
To make a get call use:
Optionally you can pass extra data that will be added in the request query string. Of course you can also use the OData parameters here. See below example.
To make post request you need to use Multivers::post()
.
Besides GET
and POST
you can also use PUT
and DELETE
.
Change log
Please see the changelog for more information on what has changed recently.
Testing
Tests are not included yet.
Security
If you discover any security related issues, please email author instead of using the issue tracker.
Credits
- Bart Jansen
- All Contributors
License
Please see the license file for more information.