nielstholenaar / openprovider-client
Openprovider API client
Installs: 197
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 3
Open Issues: 1
pkg:composer/nielstholenaar/openprovider-client
Requires
- php: >=5.4.0
- illuminate/support: 4.2.*
- kevindierkx/elicit: ~0.2
This package is not auto-updated.
Last update: 2021-11-08 12:59:25 UTC
README
A simple wrapper around the Openprovider API
Credits
Usage
This package is currently only compatible with Laravel
Register the serviceprovider by adding the following lines to the app/config/app.php file.
'Kevindierkx\Elicit\Provider\LegacyElicitServiceProvider', 'Nielstholenaar\OpenproviderClient\OpenproviderClientServiceProvider', 
Create an configuration file under app/config/packages/kevindierkx/elicit/ named config.php and add the following content:
<?php
return [
	/*
	|--------------------------------------------------------------------------
	| Default API Connection Name
	|--------------------------------------------------------------------------
	|
	| Here you may specify which of the API connections below you wish
	| to use as your default connection. Of course you may use many
	| connections at once using the Elicit library.
	|
	*/
	'default' => 'openprovider',
	/*
	|--------------------------------------------------------------------------
	| API Connections
	|--------------------------------------------------------------------------
	|
	| Here are each of the API connections setup for your application.
	| Elicit has support for different connection drivers and authentication
	| drivers defined with the driver and the auth key in your connection.
	|
	| The available connection drivers are defined by the Connections
	| classes. Connection drivers handle request to and from the API.
	| The available authenticaiton drivers are defined by the Connectors
	| classes. Authentication drivers handle the API authentication.
	|
	*/
	'connections' => [
		'openprovider' => [
			'driver' => 'openprovider',
			'host'   => 'https://api.openprovider.eu',
			'auth'       => 'openprovider',
			'identifier' => '',
			'secret'     => '',
		],
	],
];
License
The MIT License (MIT). Please see License File for more information.