Symfony cas bundle
add this to your composer.json file :
"repositories": [
{
"type": "vcs",
"url": "https://github.com/vib94/casBundle.git"
}],
Open a command console, enter your project directory and execute:
$ composer require vib94/cas-bundleThen, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php file of your project:
$bundles[] = new Vib94\CasBundle\Vib94CasBundle();
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new <vendor>\<bundle-name>\<bundle-long-name>(),
);
// ...
}
// ...
}cas: resource: "@CasBundle/Resources/config/routing.yml" prefix: /
new Cas\CasBundle\CasBundle(),