PHP code example of monkeydp / laravel-cas

1. Go to this page and download the library: Download monkeydp/laravel-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/ */

    

monkeydp / laravel-cas example snippets

$xslt
$ php artisan vendor:publish --provider="Monkeydp\Cas\ServiceProvider"
$xslt
Route::group(['middleware' => 'cas'], function () {

    Route::get('/home', function(){
        return 'HOME';
    });
});