x-multibyte / blatui-admin
BlatUI Admin for Laravel projects.
Fund package maintenance!
Requires
- php: ^8.4
- anousss007/blatui: ^1.3
- gehrisandro/tailwind-merge-laravel: ^1.0
- illuminate/support: ^12.0||^13.0
- mallardduck/blade-lucide-icons: ^1.21||^2.0
Requires (Dev)
- larastan/larastan: ^3.9
- laravel/pao: ^1.0
- laravel/pint: ^1.29
- orchestra/testbench: ^10.0||^11.0
- pestphp/pest: ^4.6||^5.0
- pestphp/pest-plugin-laravel: ^4.1||^5.0
- pestphp/pest-plugin-type-coverage: ^4.0||^5.0
- phpstan/extension-installer: ^1.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-08 22:21:18 UTC
README
BlatUI Admin
BlatUI Admin for Laravel projects.
Installation
You can install the package via Composer:
composer require x-multibyte/blatui-admin
You may publish all of the package's resources at once:
php artisan vendor:publish --tag="blatui-admin"
Or, you may publish each resource individually:
Publishing the Configuration File
php artisan vendor:publish --tag="blatui-admin-config"
Publishing and Running the Migrations
php artisan vendor:publish --tag="blatui-admin-migrations"
php artisan migrate
Publishing the Views
php artisan vendor:publish --tag="blatui-admin-views"
Publishing the Translations
php artisan vendor:publish --tag="blatui-admin-lang"
Publishing the Public Assets
php artisan vendor:publish --tag="blatui-admin-assets"
Artisan Commands
Listing the available commands
php artisan admin php artisan admin:list
Both print the package banner, the installed version, and every registered admin:* command. The list is discovered at runtime, so commands registered by other packages appear here too.
Publishing resources
admin:publish wraps vendor:publish with the package's tags. Pass the resources you want:
php artisan admin:publish --config --views --force
Run it with no options to pick the resources interactively:
php artisan admin:publish
| Option | Publishes |
|---|---|
--config |
blatui-admin-config |
--migrations |
blatui-admin-migrations |
--routes |
blatui-admin-routes |
--seeders |
blatui-admin-seeders |
--views |
blatui-admin-views |
--lang |
blatui-admin-lang |
--assets |
blatui-admin-assets |
--all |
blatui-admin (everything above) |
--force |
Overwrite existing files without asking |
Uninstalling
php artisan admin:uninstall
This rolls back the package's migrations and deletes every published resource — the config file, routes/admin.php, the seeder, and the views, lang, and asset directories. It asks for confirmation first; --force skips the prompt.
Files under App\Admin\ are your own application code and are never touched.
Usage
The four bundled resource routes are available at:
/admin/auth/users/admin/auth/roles/admin/auth/permissions/admin/auth/menu
You can swap a controller without forking the package by updating config('blatui-admin.resources').
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Thank you for considering contributing to BlatUI Admin! Please review our contributing guide to get started.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
BlatUI Admin is open-sourced software licensed under the MIT license.