kometsoft / laravel-ui
This package is abandoned and no longer maintained.
No replacement package was suggested.
UI kits for rapid Laravel app development
v1.0.2
2023-07-20 09:05 UTC
Requires
- php: ^7.4|^8.0
README
A package for integration of Tabler UI kits, with ready-to-use components and customization options.
Installation
Install laravel/ui package:
composer require laravel/ui
Once the laravel/ui package has been installed, you may install the frontend scaffolding using the ui Artisan command:
php artisan ui bootstrap --auth
You can install the package via composer:
composer require kometsoft/laravel-ui
Usage
- Publish assets
php artisan vendor:publish --tag=ui-assets
- Add the
@uiBlade directive to your main layout
Consider removing your existing Bootstrap imports. Only import what you need on the page.
@ui(['tabler-core', 'tabler-icons', 'tom-select', 'litepicker', 'apexcharts', 'alpinejs', 'datatables.net', 'jquery'])
Updating
- Update the composer package
composer update kometsoft/laravel-ui
- Force publish
ui:assetstag
php artisan vendor:publish --tag=ui-assets --force
- (Optional) If you are using a custom tabler.min.css, make sure you override the file contents.
cp resources/css/<custom-tabler-theme> public/vendor/ui/tabler-core/css/tabler.min.css
Credits
License
The MIT License (MIT). Please see License File for more information.