This is for learning purposes only.
Made with Laravel, Filament Admin and Spatie / Permission. I am very grateful to the creators of these great frameworks and packages.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
Filament is a collection of tools for rapidly building beautiful TALL stack interfaces, designed for humans.
Admin Panel • Documentation • Demo
This package allows you to manage user permissions and roles in a database.
See the DOCUMENTATION for detailed installation and usage instructions.
The easiest and most intuitive way to add access management to your Filament Resource Models (more coming soon 😎)
Access the Repository by Bezhan Salleh, to check all the documentation.
Clone the repo locally:
https://github.com/felipe-balloni/optica2.git optica2
cd optica2
Install PHP dependencies:
composer install
Setup configuration:
cp .env.example .env
Generate application key:
php artisan key:generate
Create an SQLite database or use another database (MySQL, Postgres) and configure your .env accordingly.
Run database migrations with seed and permissions:
php artisan migrate --seed && php artisan shield:generate
Run the dev server (the output will give the address):
php artisan serve
You're ready to go! Visit the url in your browser
/sistema
, and login with:
Super Administrator
- Username: [email protected]
- Password: password
Administrator
- Username: [email protected]
- Password: password
Users
-
Username: [email protected]
-
Password: password
-
Username: [email protected] (inactive)
-
Password: password
Users and Administrator don't have any permission (yet). You need to enter with Super Administrador to setup then.
The application is configured with the pt_BR language and America/Sao_Paulo time zone. If necessary, please remember to change it in the config/app.php configuration file