1. Go to this page and download the library: Download aammui/laravel-taggable 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/ */
aammui / laravel-taggable example snippets
composer
namespace App;
use Aammui\LaravelTaggable\Traits\HasCategory;
use Aammui\LaravelTaggable\Traits\HasTag;
class Post extends Model {
use HasCategory, HasTag;
}