Simple PHP application with CAS authentication based on ecphp/cas-lib and ecphp/ecas.
The application is using the Slim framework. The choice of Slim is arbitrary and can be replaced by any other framework. Slim has been used for its simplicity and its ability to be used as a micro-framework.
This application is not meant to be used as a production application but as a simple educational example on how to implement CAS authentication in a bare PHP application.
This application ships with a flake.nix
file. If you use Nix, you can run the
application "remotely" by doing: nix run github:ecphp/cas-demo-slim
If you don't use Nix, you can run the application locally by doing:
git clone [email protected]:ecphp/cas-demo-slim
cd cas-demo-slim
composer install
composer serve