PHP code example of liyunde / laravel5-multi-cas

1. Go to this page and download the library: Download liyunde/laravel5-multi-cas library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

liyunde / laravel5-multi-cas example snippets


    MultiCas\CasServiceProvider::class,

	'Cas'       => MultiCas\Facades\Cas::class,

	Cas::authenticate();
	OR
	Cas::default()->authenticate();

	Cas::getCurrentUser();
	OR
	Cas::user();
	
	Cas::default()->user();

    $ php artisan vendor:publish