PHP code example of barradev / categorymodule

1. Go to this page and download the library: Download barradev/categorymodule library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

barradev / categorymodule example snippets


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

php artisan categorymodule:publish