- Frontend: Login, Registration
- Backend: User Management, Simple Role, Profile
- Laravel Breadcrumbs
- Easy flash notifications
- Tests
- Clone: git clone https://github.com/rrpadilla/laravel-adminlte-boilerplate.git my-new-project
- cd my-new-project
- Copy .env.example file to .env and edit database credentials and APP_URL
- Run composer install
- Run php artisan key:generate
- Run php artisan migrate --seed
- Testing: Run phpunit
- See UsersControllerTest
- Login with: -- Admin: [email protected] - secret -- Member: [email protected] - secret
Laravel | PHP | Breadcrumbs | AdminLTE |
---|---|---|---|
5.6+ | 7.1+ | 5.x | 2.4+ |
$ composer install --optimize-autoloader $ php artisan config:cache $ php artisan route:cache $ php artisan view:clear $ composer install --optimize-autoloader && php artisan config:cache && php artisan route:cache && php artisan view:clear
- [See] https://laravel.com/docs/5.6/requests#configuring-trusted-proxies
- Change your .env if: -- you're using AWS ELB: --- TRUSTEDPROXY_PROXIES='*' --- TRUSTEDPROXY_HEADERS='HEADER_X_FORWARDED_AWS_ELB' -- IP address (or range) of your proxy --- TRUSTEDPROXY_PROXIES='192.168.1.1,192.168.1.2' --- TRUSTEDPROXY_PROXIES='192.168.1.0/8' --- TRUSTEDPROXY_HEADERS='HEADER_X_FORWARDED_ALL'