Stars: 186
Forks: 65
Pull Requests: 334
Issues: 111
Watchers: 23
Last Updated: 2022-12-17 02:43:39
Authentication and Authorization for CodeIgniter 4
License: MIT License
Languages: Shell, PHP
Shield is an authentication and authorization framework for CodeIgniter 4. While it does provide a base set of tools that are commonly used in websites, it is designed to be flexible and easily customizable.
The primary goals for Shield are:
Shield provides two primary methods of authentication out of the box:
Session-based
This is your typical email/username/password system you see everywhere. It includes a secure "remember me" functionality. This can be used for standard web applications, as well as for single page applications. Includes full controllers and basic views for all standard functionality, like registration, login, forgot password, etc.
Personal Access Codes
These are much like the access codes that GitHub uses, where they are unique to a single user, and a single user can have more than one. This can be used for API authentication of third-party users, and even for allowing access for a mobile application that you build.
See the An Official Auth Library for more Info.
Usage of Shield requires the following:
Installation is done through Composer.
composer require codeigniter4/shield
See the docs for more specific instructions on installation and usage recommendations.
Shield does accept and encourage contributions from the community in any shape. It doesn't matter whether you can code, write documentation, or help find bugs, all contributions are welcome.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Every open-source project depends on it's contributors to be a success. The following users have contributed in one manner or another in making Shield:
Made with contrib.rocks.
The following articles/sites have been fundamental in shaping the security and best practices used within this library, in no particular order: