leo108/php_cas_server

PHP CAS Server

Installs: 1 141

Dependents: 0

Suggesters: 0

Security: 0

Stars: 219

Watchers: 17

Forks: 47

Open Issues: 12

Type:project

dev-master 2020-10-27 13:05 UTC

This package is auto-updated.

Last update: 2024-10-27 22:03:17 UTC


README

PHP CAS Server is a PHP implementation of CAS Server Protocol based on Laravel.

中文文档

Features

  • CAS protocol v1/v2/v3 (proxy is supported now!).
  • User management, including adding/editing/searching users, enable/disable users, set/unset as administrator.
  • Service management, including adding/editing/searching services, enable/disable services.
  • I18n, support English and Chinese out of box, you can add language as your need.
  • Customize login methods, support email + password by default, you can add custom login methods by plugins. You can also disable email login by settings.

Requirements

  • PHP >= 5.5.9

Installation

By composer (Recommend)

  1. composer create-project leo108/php_cas_server php_cas_server dev-master
  2. npm install or yarn
  3. gulp

By release tarballs

Download Link

Configuration

If you install by tarball, you have to copy .env.example to .env, and then run php artisan key:generate

All settings are in .env file.

Basic

Database

You have to set all fields that begin with DB_, then run php artisan migrate to initial database schema.

CAS Server

Setup behind reverse proxy

Initial database and create administrator

Execute php artisan migrate at the root directory of this project to initial database.

Execute php artisan make:admin --password=yourpassword to create an administrator account.

License

MIT.