spomky-labs / oauth2-server-configuration-bundle
Symfony2 OAuth2 Server Configuration Bundle
Requires
- php: >=5.4
- spomky-labs/oauth2-interface: ~5.0.0
Requires (Dev)
- behat/behat: ~3.0
- behat/symfony2-extension: *
- symfony/class-loader: ~2.3
- symfony/yaml: ~2.3
This package is not auto-updated.
Last update: 2015-08-17 10:39:34 UTC
README
This bundle provides an easy way to set the configuration of your OAuth2 Server. It relies on the OAuth2 Interfaces Project.
The Release Process
The release process is described here .
Prerequisites
This library needs at least PHP 5.4
and Symfony v2.3
.
It has been successfully tested using:
- PHP:
PHP 5.4
toPHP 5.6
,PHP 7
andHHVM
. - Symfony:
v2.3.x
tov2.7.x
.
Installation
The preferred way to install this library is to rely on Composer:
composer require "spomky-labs/oauth2-server-configuration-bundle" "~5.0.0"
Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( ... new SpomkyLabs\SOAuth2ServerConfigurationBundle\SpomkyLabsOAuth2ServerConfigurationBundle(), ); }
Configuration
The configuration of this bundle depends on component added to your OAuth2 Server. To know which configuration keys and values are available, look at the console command provided by this bundle
sl_oauth2_configuration: options: key1: value1 key2: value2 key3: value3 key4: [value1, value2, value3, value4] key5: 123
How to use
Have a look at How to use to use this bundle.
Contributing
Requests for new features, bug fixed and all other ideas to make this bundle awesome are welcome. Please follow these best practices.
Licence
This library is release under MIT licence.