A server-side entry in TopGit's GitHub warehouse: mdbootstrap/adminlte-laravel, 1.8k stars, Backend, PHP. A Laravel 5 package that switchs default Laravel scaffolding/boilerplate to AdminLTE template and Pratt Landing Page with Bootstrap 3.0
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
And disable AdminLTETemplateServiceProvider in config/app.php file ( take into account that Adminte-laravel Facades and
custom commands will not be available).
See issue https://github.com/acacha/adminlte-laravel/issues/69 for more info
First steps, database creation, migrations and login
Once package installed you have to follow the usual steps of any laravel project to Login to the admin interface:
Create a database. I recommend the use of laravel Homestead ()
AdminLTE is a Free Premium Admin control Panel Theme That Is Based On Bootstrap 3.x created by Abdullah Almsaeed. See:
https://github.com/almasaeed2010/AdminLTE
Avatar/Gravatar
Adminlte-laravel supports global recognized avatar (http://gravatar.com) using package creativeorange/gravatar (https://github.com/creativeorange/gravatar).
Artisan Commands
make:view
This commands adds a view to resources/views folder using default adminlte layout:
php artisan make:view about
make:menu
This commands adds a menu entry to file config/menu.php:
php artisan make:menu link menuname
Example:
php artisan make:menu /contact
make:route
This commands adds a route to routes file using:
php artisan make:route linkname
For example you can add a route routes/web.php file with URI /about using:
php artisan make:route about
This commands add this entry to routes/web.php
You can create 3 types of routes with option type:
regular: routes using a clousure with a simple return view command. This is the default one
controller: routes using a controller.
resource: routes using a resource controller.
Examples:
php artisan make:route about --type=controller
this adds the following:
Route::get('about', 'AboutController@index');
to file routes/web.php. You can choose the controller name and method with:
php artisan make:route about MyController@method --type=controller
If you want to create a resource controller:
php artisan make:route about --type=resource
this adds the following:
Route::resource('about', 'About@index');
to file routes/web.php.
You can also create routes with other HTTP methods using option method:
php artisan make:route save --method=post
You can also add routes to api using option api:
php artisan make:route save --api
Then the routes will be added to routes/api.php.
Finally use option -a to add actions after route creation:
php artisan make:route about -a
Last command also create a view with name about.blade.php. Using:
php artisan make:route about -a --type=controller
Will create a Controller file with name AboutController and method index.
You can consult all options with:
php artisan make:route --help
adminlte:publish | adminlte-laravel:publish
This command is already executed during installation you can (re)execute manually with:
php artisan adminlte:publish
Publish all necessary files from package to Laravel project.
adminlte:sidebar | adminlte-laravel:sidebar
Only publish package sidebar to Laravel project allowing to customize sidebar:
php artisan adminlte:sidebar
Note: sidebar is already published when you use adminlte-laravel install command.
adminlte:menu | adminlte-laravel:menu
Replaces sidebar view with a sidebar using spatie/laravel-menu:
php artisan adminlte:menu
This command also installs spatie/laravel-menu package and creates a default menu located config/menu.php.
IMPORTANT: Spatie Laravel Menu required PHP7.0 or superior to work
adminlte-laravel:admin | adminlte:admin
Executes make:adminUserSeeder artisan command (see next section) an executes seed. This command adds a default admin user to database.
php artisan adminlte:admin
File /home/sergi/Code/AdminLTE/acacha/adminlte-laravel_test/database/seeds/AdminUserSeeder.php created
User Sergi Tur Badenas([email protected]) with the environemnt password (env var ADMIN_PWD) created succesfully!
This command use (if exists) environment variables (.env file) ADMIN_USER, ADMIN_EMAIL and ADMIN_PWD. If this env variables does not exists then
user git config (~/.gitconfig) to obtain data and if this info does not exists use Admin ([email protected]) and password 123456 as default.
make:adminUserSeeder
Create a new seed to add admin user to database. Use:
php artisan make:adminUserSeeder
File /home/sergi/Code/AdminLTE/acacha/adminlte-laravel_test/database/seeds/AdminUserSeeder.php created
Social Login/Register with acacha/laravel-social
It's a cinch to add (optional) Social Login/Register support to Laravel Adminlte using acacha/laravel-social package. Execute in your project root folder:
adminlte-laravel social
Follow the wizard to configure your social providers Oauth data and enjoy!
More info at https://github.com/acacha/laravel-social.
How to remove social Login?
Remove line
@include('auth.partials.social_login')
in files resources/views/auth/login.blade.php and register.blade.php
Testing laravel project once this package is installed
Once this package is installed in a Laravel project some tests are installed to test package features. There are two kind of tests Feature/Unit tests and Browser tests. To execute Feature/Unit tests execute:
./vendor/bin/phpunit
In a new created laravel project with acacha-admintle.laravel installed to test that package is installed correctly. You can also execute Browser tests with Laravel Dusk (please install first manually Dusk package following https://laravel.com/docs/master/dusk):
The following languages are supported by default on this package: English, Catalan, Spanish, Dutch and Brazilian Portuguese. Please feel free to submit a new pull request with another languages if you wish.
Troubleshooting
GNU sed on MAC OS
NOTA: not needed in Laravel 5.5+
Acacha llum need GNU sed to work so replace BSD sed with GNU sed using:
brew install gnu-sed --with-default-names
Check you version of sed with:
man sed
sed GNU version path is:
$ which sed
/usr/local/bin/sed
Instead of default path of BSD sed (installed by default on MAC OS):
/usr/bin/sed
More info at https://github.com/acacha/adminlte-laravel/issues/58
How to use username at login instead of email
Execute command:
php artisan adminlte:username
And then you can use username instead of email for login.
NOTE: when we are using login by username if login by usernames fails then
system try to use the introduced username as an email for login. So users
can also login using email.
To come back to email login remove field option from config/auth.php file:
How active is development on mdbootstrap/adminlte-laravel?
The most recent commit recorded on mdbootstrap/adminlte-laravel was 1.0 years ago, based on the GitHub push timestamp. The repository has 494 forks — one of the better signals of community interest.
How does mdbootstrap/adminlte-laravel compare to other Backend projects?
mdbootstrap/adminlte-laravel is tracked by TopGit in the Backend category, with 1.8k GitHub stars and written in PHP. Browse the Backend topic page on TopGit to compare it against similar projects by stars and activity.
How many stars does mdbootstrap/adminlte-laravel have?
mdbootstrap/adminlte-laravel has 1.8k GitHub stars — refresh the page for the live number, or check github.com/mdbootstrap/adminlte-laravel. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is mdbootstrap/adminlte-laravel open source?
Yes — mdbootstrap/adminlte-laravel ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/mdbootstrap/adminlte-laravel.
What is mdbootstrap/adminlte-laravel?
mdbootstrap/adminlte-laravel (mdbootstrap/adminlte-laravel) is a PHP project on GitHub. From the project's own README: A Laravel 5 package that switchs default Laravel scaffolding/boilerplate to AdminLTE template and Pratt Landing Page with Bootstrap 3.0
Where do I read more about mdbootstrap/adminlte-laravel?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/mdbootstrap/adminlte-laravel is the definitive source.
Read full README in the tab above.
Curious whether adminlte-laravel is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about adminlte-laravel.