PHP code example of filament / spatie-laravel-tags-plugin
1. Go to this page and download the library: Download filament/spatie-laravel-tags-plugin 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/ */
filament / spatie-laravel-tags-plugin example snippets
use Filament\Forms\Components\SpatieTagsInput;
SpatieTagsInput::make('tags')
use Filament\Forms\Components\SpatieTagsInput;
SpatieTagsInput::make('tags')
->type('categories')
use Filament\Tables\Columns\SpatieTagsColumn;
SpatieTagsColumn::make('tags')
use Filament\Tables\Columns\SpatieTagsColumn;
SpatieTagsColumn::make('tags')
->type('categories')
use Filament\Infolists\Components\SpatieTagsEntry;
SpatieTagsEntry::make('tags')
use Filament\Infolists\Components\SpatieTagsEntry;
SpatieTagsEntry::make('tags')
->type('categories')