PHP code example of creode / laravel-folder-taxonomy

1. Go to this page and download the library: Download creode/laravel-folder-taxonomy 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/ */

    

creode / laravel-folder-taxonomy example snippets


return [
    'model' => \Creode\LaravelFolderTaxonomy\Models\Folder::class,
];

namespace App\Models;

use Creode\LaravelFolderTaxonomy\Models\Folder as BaseFolder;

class Folder extends BaseFolder
{
    // Add your custom functionality here
}

return [
    'model' => \App\Models\Folder::class,
];
bash
php artisan vendor:publish --tag="folder-taxonomy-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="folder-taxonomy-config"