laravel-tabler maintained by mimisk13
Laravel Tabler
mimisk13/laravel-tabler is a Laravel UI scaffolding package based on Tabler.
It installs a ready starter layout, demo pages, Blade components, and route/vite stubs so you can start quickly with a Tabler-style admin UI.
Requirements
- PHP 8.2+
- Laravel 10, 11, 12, or 13
Installation
composer require mimisk13/laravel-tabler
Usage
php artisan tabler:install
What the install command does
- Copies Blade views from package stubs to
resources/views - Copies route stub to
routes/web.php - Copies
vite.config.jsstub to project root - Adds frontend dependencies in
package.json(@tabler/core,vite-plugin-static-copy) - Runs frontend install/build command (
npm,yarn, orpnpmdepending on lock file)
Scaffolded pages and routes
Installed route stub includes:
GET /->dashboardviewGET /empty->emptyview (emptyroute name)GET /license->licenseview (licenseroute name)
Included Blade components
The package stubs include reusable components under resources/views/components, including:
- alerts
- badges
- buttons
- cards
- forms/inputs
- table wrappers (
table,th,td) - icons
- empty state blocks
- loading spinner
Example usage:
<x-alert />
<x-badge class="bg-blue">Active</x-badge>
<x-button route="{{ route('license') }}">
View License
</x-button>
<x-input name="email" type="email" label="Email" required />
<x-empty
title="No records"
message="There are no items yet."
button_label="Create item"
button_route="{{ url('/') }}"
/>
Notes
tabler:installis scaffolding-oriented and will overwrite target files likeroutes/web.phpandvite.config.jswith package stubs.- Review generated files before running in an existing production project.
Change log
Please see the CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING.md for details and a todolist.
Credits
License
The MIT License (MIT). Please see license file for more information.