syntech / dashboard
A Laravel package to create custom controllers with associated resources
Installs: 69
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/syntech/dashboard
Requires
- php: ^7.3|^8.0
- illuminate/support: ^8.0|^9.0|^10.0
- yajra/laravel-datatables-buttons: 9.0
- yajra/laravel-datatables-oracle: ^10.3.1
README
A custom Laravel package for creating dashboard components.
Installation
You can install the package via Composer:
composer require syntech/dashboard:* Usage This package provides a custom Artisan command to create a new dashboard controller along with the associated resources (DataTable, Request, Resource, and View). Creating a New Dashboard Component Run the following Artisan command to create a new dashboard component: php artisan syntech:create {Namespace\\ControllerName} For example: php artisan syntech:create Dashboard\\Blog This will generate the following files: Controller: App\Http\Controllers\Dashboard\BlogController.php DataTable: App\DataTables\Dashboard\BlogDataTable.php Request: App\Http\Requests\Dashboard\BlogRequest.php Resource: App\Http\Resources\Dashboard\BlogResource.php View: resources/views/dashboard/blog.blade.php