This skeleton app structures a basic authentication system for a Slim 4 application.
This skeleton uses the SavageDev namespace. To change this, you will need to update all the php files in the app directory as well as the command, console and middleware stubs in app/SavageDev/Console.
- Login & Register
- Update profile details (username, email)
- Update password
View "slim-auth-skeleton-v2.sql" to see database structure
- Make controllers
- Make middleware
- Make console command
Run "php craft" in the app's directory to view more information.
- Use resources/assets folder for styling and javascript files
Utilizes webpack to style your application (default: bootstrap)
- Clone this repo to your web root
- Open your console and run: "composer install"
- To add styling support: run "npm install" or "yarn install"
- Import the sql file into your database
- Rename the .env-example file to .env and update the file to your needs, database connection, environment, url etc. (Change APP_ENV to "production" before deployment)
- Point to your app directory's public folder within your web configuration
- View website in your browser
For any help and/or feedback, send me an email to the public e-mail shown on GitHub.