da / auth-common-bundle
Symfony2 的 bundle,共享 DaOAuth* 和 DaApi* bundle 的通用功能
v1.0.0
2014-06-17 16:23 UTC
Requires
- php: >=5.3.3
- symfony/config: >=2.1
- symfony/dependency-injection: >=2.1
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-09-13 23:12:54 UTC
README
DaAuthCommonBundle 是一个 Symfony2 的 bundle,用于共享 DaOAuth* 和 DaApi* bundle 的通用功能。
安装
安装是一个简单的两步过程。
步骤 1: 在 composer 中添加
在 composer.json 文件中添加 bundle
// composer.json "require": { // ... "da/auth-common-bundle": "dev-master" },
并更新你的 vendors
composer update # WIN composer.phar update # LINUX
步骤 2: 在 kernel 中声明
在你的 kernel 中声明该 bundle
// app/AppKernel.php $bundles = array( // ... new Da\AuthCommonBundle\DaAuthCommonBundle(), );