https://github.com/rrpadilla/laravel-adminlte-boilerplate
Laravel 5.6+ AdminLTE
https://github.com/rrpadilla/laravel-adminlte-boilerplate
admin-dashboard adminlte breadcrumbs laravel5 user-management
Last synced: 3 months ago
JSON representation
Laravel 5.6+ AdminLTE
- Host: GitHub
- URL: https://github.com/rrpadilla/laravel-adminlte-boilerplate
- Owner: rrpadilla
- Archived: true
- Created: 2018-02-10T09:06:16.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-07T07:58:50.000Z (about 6 years ago)
- Last Synced: 2025-01-21T09:35:51.566Z (11 months ago)
- Topics: admin-dashboard, adminlte, breadcrumbs, laravel5, user-management
- Language: PHP
- Homepage:
- Size: 973 KB
- Stars: 44
- Watchers: 7
- Forks: 32
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Laravel 5.6+ AdminLTE
> [Laravel 5.6+](https://laravel.com/docs/) and [AdminLTE 2.4+](https://github.com/almasaeed2010/AdminLTE)
## Included
- Frontend: Login, Registration
- Backend: User Management, Simple Role, Profile
- [Laravel Breadcrumbs](https://github.com/davejamesmiller/laravel-breadcrumbs)
- [Easy flash notifications](https://github.com/laracasts/flash)
- Impersonating users:
- Allowing admins to sign in as other users
- To enable this feature you have to add **IMPERSONATE=true** to the .env file and update the [App/Http/Kernel class](https://github.com/rrpadilla/laravel-adminlte-boilerplate/blob/master/app/Http/Kernel.php#L40).
- Tests
## How to use
- 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 __composer dump-autoload__
- Run __php artisan key:generate__
- Run __php artisan migrate --seed__
- Testing: Run __phpunit__
- See [UsersControllerTest](https://github.com/rrpadilla/laravel-adminlte-boilerplate/blob/master/tests/Feature/Controllers/Admin/UsersControllerTest.php)
- Login with:
- Admin: __admin@admin.com__ - __secret__
- Member: __member@example.com__ - __secret__
- Follow the [DOCUMENTATION](https://github.com/rrpadilla/laravel-adminlte-boilerplate/wiki/Adding-Resources) to see how you can add more Resources (CRUD) to your project.
## Compatibility Chart
| Laravel | PHP | Breadcrumbs | AdminLTE
|---------|------|-------------|----------|
| 5.6+ | 7.1+ | **5.x** | 2.4+
## Production
- composer install --optimize-autoloader --no-dev
- php artisan config:cache
- php artisan route:cache
- php artisan view:clear
- Run all commands.
- composer install --optimize-autoloader --no-dev && php artisan config:cache && php artisan route:cache && php artisan view:clear
## Production - [Configuring Trusted Proxies](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__"
- __TRUSTEDPROXY_HEADERS__="__HEADER_FORWARDED__"
## Interface
