Skip to content

shihabphp/livewire-dashboard

Repository files navigation

Create Dashboard

Using this package you can create beautiful dashboards.

screenshot

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. '

Credits and Influences