barradev/categorymodule

Modul pengelolaan kategori untuk modul Barra Dev Studio

1.4 2021-03-23 15:16 UTC

This package is auto-updated.

Last update: 2024-03-23 21:26:53 UTC


README

composer require barradev/categorymodule

Setelah berhasil diinstal, jalankan perintah

php artisan categorymodule:publish

Route

Tambahkan route berikut

Route::resource('category', CategoryController::class)->except('show');
Route::post('category/list', [CategoryController::class, 'list'])->name('list_categories');

Merubah view

Untuk merubah view, dapat dilihat pada folder resources/views/category/