# laravel_cas_server **Repository Path**: leo108/laravel_cas_server ## Basic Information - **Project Name**: laravel_cas_server - **Description**: A laravel package provides CAS server - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-10-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CAS Server for Laravel laravel_cas_server is a Laravel package that implements the server part of [CAS protocol](https://apereo.github.io/cas/4.2.x/protocol/CAS-Protocol-Specification.html) v1/v2/v3 without the proxy ticket part. Currently this package works for Laravel 5.1/5.2/5.3 . [![Latest Version](http://img.shields.io/github/release/leo108/laravel_cas_server.svg)](https://github.com/leo108/laravel_cas_server/releases) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE) [![Build Status](https://img.shields.io/travis/leo108/laravel_cas_server/master.svg)](https://travis-ci.org/leo108/laravel_cas_server) [![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/leo108/laravel_cas_server/master.svg)](https://scrutinizer-ci.com/g/leo108/laravel_cas_server/code-structure) [![Total Downloads](https://img.shields.io/packagist/dt/leo108/laravel_cas_server.svg)](https://packagist.org/packages/leo108/laravel_cas_server) ## Requirements - PHP >=5.5.9 ## Installation && Usage - `composer require leo108/laravel_cas_server` - add `Leo108\CAS\CASServerServiceProvider::class` to the `providers` field in `config/app.php` - `php artisan vendor:publish --provider="Leo108\CAS\CASServerServiceProvider"` - modify `config/cas.php`, fields in config file are all self-described - `php artisan migrate` - make your `App\User` implement `Leo108\CAS\Contracts\Models\UserModel` - create a class implements `Leo108\CAS\Contracts\TicketLocker` - create a class implements `Leo108\CAS\Contracts\Interactions\UserLogin` - visit `http://your-domain/cas/login` to see the login page (assume that you didn't change the `router.prefix` value in `config/cas.php`) ## Example If you are looking for an out of box solution of CAS Server powered by PHP, you can refer to [php_cas_server](https://github.com/leo108/php_cas_server)