PHP code example of lyn-huang / laravel-cas-server
1. Go to this page and download the library: Download lyn-huang/laravel-cas-server 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/ */
lyn-huang / laravel-cas-server example snippets
bash
# 1. 安装
composer 图
php artisan vendor:publish --provider="LynHuang\LaravelCasServer\CasServerServiceProvider"
# 3. 建表
php artisan migrate
# 4. 创建客户端应用
php artisan cas:create-client