shihabphp / livewire-dashboard
A Dashboard Creator for your Laravel or Livewire Application
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 1
Open Issues: 0
Language:Blade
Requires
- php: ^7.4
- doctrine/dbal: ^3.1
- illuminate/database: ^8.0
- illuminate/view: ^8.0
- livewire/livewire: ^2.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.3
This package is auto-updated.
Last update: 2024-04-26 10:25:06 UTC
README
Using this package you can create beautiful dashboards.
Requirements
Installation
You can install the package via composer:
composer require shihabphp/livewire-dashboard
Publish the migrations
To create the dashboard_tiles table, you must create and run the migration.
php artisan vendor:publish --provider="Shihabphp\Dashboard\DashboardServiceProvider" --tag="dashboard-migrations" php artisan migrate
Creating your dashboard
In your Laravel app, create a new route and view. The url and view name can be whatever you want.
Route::view('dashboard-url', 'dashboard-blade-view');
In your Blade view, use the dashboard Blade view component.
<livewire:livewire-dashboard />
Customizing the views
If you want to customize the view used to render the dashboard and the tiles, run this command:
php artisan vendor:publish --provider="Shihabphp\Dashboard\DashboardServiceProvider" --tag="dashboard-views"
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email shihab640@hotmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information. '