spomky-labs/oauth2-server-password-client-bundle

此包已被废弃且不再维护。作者建议使用spomky-labs/oauth2-server-bundle包。

Symfony2 OAuth2 Server 配置包

This package is not auto-updated.

Last update: 2015-07-23 07:10:04 UTC


README

Scrutinizer Code Quality Build Status HHVM Status PHP 7 ready

SensioLabsInsight

Latest Stable Version Total Downloads Latest Unstable Version License

此扩展包将帮助您创建和管理 OAuth2 服务器的密码客户端。

它依赖于OAuth2 接口项目

发布流程

发布流程的描述见此处

先决条件

此扩展包至少需要 PHP 5.4Symfony v2.3

它已成功测试过以下版本:

  • PHP: PHP 5.4PHP 5.6PHP 7HHVM
  • Symfony: v2.3.xv2.7.x

安装

安装此库的首选方式是依赖 Composer

composer require "spomky-labs/oauth2-server-password-client-bundle" "~5.0.0"

启用扩展包

在内核中启用扩展包

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        ...
        new SpomkyLabs\OAuth2ServerPasswordClientBundle\SpomkyLabsOAuth2ServerPasswordClientBundle(),
    );
}

使用方法

有关更多信息,请参阅此页面

贡献

欢迎提出新功能、错误修复以及所有其他想法,以便使此扩展包更有用。请遵循以下最佳实践

许可

此扩展包在MIT 许可下发布。