An open API service indexing awesome lists of open source software.

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

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

![laravel-adminlte](https://user-images.githubusercontent.com/6921286/36182902-aed39d64-10e0-11e8-9442-4d036fa47d12.gif)