Slim 3 Authentication
A very easy to use Slim 3 authentication system.
If you stumble upon any vulnerabilities within this package, more importantly with the role/permission system, please send your findings to: email@example.com.
You will need the following to get started:
- A web server with URL rewriting
- PHP 5.5 or newer
- A SSL certificate will be required in production environments! Check out HTTPS Is Easy for help setting this up!
Clone the project:
git clone https://github.com/devsavage/slim-3-authentication.git your-project-name
Install the composer dependencies:
$ cd your-project-name && composer install
Inside your project folder, install the node dependencies using yarn or npm:
$ yarn install
Rename .env-example to .env
Update .env to your project's configuration
You will need to update the APP_ENV variable to "production" when serving your application outside of a local environment!
Build assets (prodution or development)
$ yarn prod
$ yarn dev
here.You will also need Google reCAPTCHA API keys. Get them
If you would like to completely disable reCAPTCHA, see this page
wiki for more information and details on how to add new controllers, routes and more.Check out the
This project is licensed under the MIT License - see the LICENSE file for details