spomky-labs / oauth2-server-client-manager-supervisor-bundle
Symfony2 OAuth2 Server Client Manager Supervisor Bundle
Requires
Requires (Dev)
- behat/behat: 3.*
- behat/symfony2-extension: *
- symfony/class-loader: ~2.3
- symfony/event-dispatcher: ~2.3
- symfony/yaml: ~2.3
Suggests
- spomky-labs/oauth2-server-password-client-bundle: Confidential Client secured by password
- spomky-labs/oauth2-server-public-client-bundle: Public Client
- symfony/event-dispatcher: Receive events from this bundle
This package is not auto-updated.
Last update: 2015-08-17 10:39:31 UTC
README
This bundle provides a simple client manager supervisor. It will load all your client managers an easy way.
It relies on the OAuth2 Interfaces Project.
The Release Process
The release process is described here .
Prerequisites
This bundle 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-client-manager-supervisor-bundle" "~5.0.0"
Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( ... new SpomkyLabs\OAuth2ServerClientManagerSupervisorBundle\SpomkyLabsOAuth2ServerClientManagerSupervisorBundle(), ); }
Configuration
No configuration is needed as default values are defined.
The full configuration is:
sl_oauth2_client_manager_supervisor: supervisor: sl_oauth2_client_manager_supervisor.service.default
How to use
This bundle only provides the service sl_oauth2_client_manager_supervisor.supervisor
you have to inject to services that require the client manager supervisor.
This client manager is able to load all client manager services that have tag sl_oauth2_client_manager_supervisor.client_manager
.
Contributing
Requests for new features, bug fixed and all other ideas to make this bundle useful are welcome. Please follow these best practices.
Licence
This bundle is release under MIT licence.