Looking to hire Laravel developers? Try LaraJobs

laravel-admin maintained by mramadan0101

Description
Laravel admin builder for CRUD backends, maintained for PHP 8.2+ and Laravel 10-12
Last update
2026/11/01 21:17 (dev-master)
License
Downloads
2
Tags

Comments
comments powered by Disqus

Requirements

  • PHP >= 8.2
  • Laravel 10, 11 or 12
  • Fileinfo PHP Extension

Versions

Version Branch PHP Laravel Frontend Status
2.x master 8.2+ 10 – 12 AdminLTE 4, Bootstrap 5.3, jQuery 3.7, Font Awesome 6 active
1.x 1.x 7.2 – 8.x 6 – 8 AdminLTE 2, Bootstrap 3.4.1, jQuery 3.7 + migrate, FA 4 legacy

master is the 2.x line. Upgrading an existing 1.x app? Read UPGRADE.md.

Installation

composer require mramadan0101/laravel-admin

Do not install this next to the original encore/laravel-admin package. Both ship the Encore\Admin namespace, so remove the old one first if it is already in the application.

Publish the assets and install the admin tables:

php artisan vendor:publish --provider="Encore\Admin\AdminServiceProvider"
php artisan admin:install

The config file is config/admin.php. It controls the route prefix, database connection, and table names.

Open http://localhost/admin/ and log in with username admin and password admin.

Configurations

config/admin.php holds the admin settings.

Right to left support

The RTL build of AdminLTE loads automatically for right-to-left locales (ar, fa, he, ur, ...). Set rtl in config/admin.php to true or false to force it on or off.

Dark mode

Set theme in config/admin.php to light, dark or auto. Users can switch the color mode from the navbar.

Global search

The navbar search box (/ or Ctrl+K) searches the menu and every model you register, for example in app/Admin/bootstrap.php:

Admin::globalSearch(App\Models\Post::class)
    ->label('Posts')
    ->columns(['title', 'author.name'])   // `relation.column` searches through a relation
    ->subtitle('author.name')
    ->url('posts/{id}/edit')
    ->permission('posts');                // hidden from users without this permission

You can also list resources under global_search.resources in config/admin.php.

Trash for soft deletes

For models that use SoftDeletes, $grid->enableTrash() adds an All / Trash switch to the grid. Deleting a row still only soft-deletes it. In the trash view each row, or a batch selection, can be restored or deleted permanently.

Security

  • Two-factor authentication: each admin can turn on TOTP (Google Authenticator, Authy, 1Password, ...) from Settings. Recovery codes are included. Disable the feature with ADMIN_TWO_FACTOR=false.
  • Login throttling: 5 failed attempts per username and IP lock the login for 60 seconds (auth.throttle).
  • Operation log: passwords, tokens and 2FA codes are masked. Add more keys in operation_log.hidden_fields.
  • Uploads: files get random names so they can't overwrite each other. Use ->originalName() to keep the client file name.

Extensions

These extensions were written for laravel-admin 1.x. Check each one before using it with 2.x.

Extension Description laravel-admin
helpers Several tools to help you in development ~1.5
media-manager Provides a web interface to manage local files ~1.5
api-tester Help you to test the local laravel APIs ~1.5
scheduling Scheduling task manager for laravel-admin ~1.5
redis-manager Redis manager for laravel-admin ~1.5
backup An admin interface for managing backups ~1.5
log-viewer Log viewer for laravel ~1.5
config Config manager for laravel-admin ~1.5
reporter Provides a developer-friendly web interface to view the exception ~1.5
wangEditor A rich text editor based on wangeditor ~1.6
summernote A rich text editor based on summernote ~1.6
china-distpicker 一个基于distpicker的中国省市区选择器 ~1.6
simplemde A markdown editor based on simplemde ~1.6
phpinfo Integrate the phpinfo page into laravel-admin ~1.6
php-editor python-editor js-editor css-editor clike-editor Several programing language editor extensions based on code-mirror ~1.6
star-rating Star Rating extension for laravel-admin ~1.6
json-editor JSON Editor for Laravel-admin ~1.6
grid-lightbox Turn your grid into a lightbox & gallery ~1.6
daterangepicker Integrates daterangepicker into laravel-admin ~1.6
material-ui Material-UI extension for laravel-admin ~1.6
sparkline Integrates jQuery sparkline into laravel-admin ~1.6
chartjs Use Chartjs in laravel-admin ~1.6
echarts Use Echarts in laravel-admin ~1.6
simditor Integrates simditor full-rich editor into laravel-admin ~1.6
cropper A simple jQuery image cropping plugin. ~1.6
composer-viewer A web interface of composer packages in laravel. ~1.6
data-table Advanced table widget for laravel-admin ~1.6
watermark Text watermark for laravel-admin ~1.6
google-authenticator Google authenticator ~1.6

Contribute

Bug reports and pull requests are welcome. Read CONTRIBUTING.md for how to report a bug and how the master and 1.x branches differ.

People who already contributed

Other

2.x is built on:

License

laravel-admin is licensed under The MIT License (MIT).