Download the PHP package alexandret/phpcas-guard-bundle without Composer
On this page you can find all versions of the php package alexandret/phpcas-guard-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alexandret/phpcas-guard-bundle
More information about alexandret/phpcas-guard-bundle
Files in alexandret/phpcas-guard-bundle
Package phpcas-guard-bundle
Short Description PhpCAS Bundle using guard for Symfony3.4 and above
License MIT
Homepage https://github.com/Alexandre-T/casguard
Informations about the package phpcas-guard-bundle
Php CAS Bundle
PhpCas Bundle provide CAS Authentication using guard for symfony 3.4+ and 4.
This bundle DO NOT provide a CAS server. By using this bundle, your application will be able to use your Cas Server
to authenticate your users.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Step 3: Enable the Security
Update your config\packages\security.yaml
file:
Since Symfony 2.8, Guard is providing a new and excellent way to authenticate. I recommend you to have a look
on this excellent tutorial to understand guard features.
This tutorial explains how to generate a standard authentication using guard and a login form. When you
understand it, you only have to disable the call to the login form authenticator implemented in
the chapter 5 and replace it by
the phpcasguard.cas_authenticator
declared inside this bundle.
Step 4: Configure the Bundle
Create a config\packages\cas_guard.yaml
file:
Have a look on the complete configuration file to complete and connect it with your CAS server.
All versions of phpcas-guard-bundle with dependencies
jasig/phpcas Version ~1.3
symfony/security-guard Version ~3.4|4.*|~5.0
symfony/config Version ~3.4|4.*|~5.0
symfony/dependency-injection Version ~3.4|4.*|~5.0
symfony/routing Version ~3.4|4.*|~5.0
symfony/yaml Version ~3.4|4.*|~5.0