Basic Laravel setup with Authencation with passport, roles and permission, media library, and php stan for analysis, and php pest for unit tesrt
This is a Basic laravel setup repo for you to focus on just building rather than setting up development. it has such as:
- [All Authentication functions and API with passport, OTP, and email verifications].
- [Spatie roles and permission is added to handle roles and permissions].
- Spatie media library to handle image and file uploads, add the trait to the model needed,
- Integrated phpstan for analysis; this helps analyze your code base to standard.
- php pest for unit and feature test.
- Maintained S.O.L.I.D principle
- Third-party integrations with Paystack
Laravel is accessible, and powerful, and provides tools required for large, robust applications.
- git clone repo
- composer install
- setup database in .env
- open the RolePermissionSeeder to modify roles to your taste and permission, following the arrays sample
- run php artisan migrate
- you can run composer pest to run the existing auth test
- run composer analyze to analyse your codebase
The Laravel framework is open-sourced software licensed under the MIT license.