1. Go to this page and download the library: Download tomatophp/filament-meta 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/ */
tomatophp / filament-meta example snippets
use Tomatophp\FilamentMeta\Traits\HasMeta;
class User extends Model
{
use HasMeta;
}
use Tomatophp\FilamentMeta\Filament\RelationManager\MetaRelationManager;
public static function getRelations(): array
{
return [
MetaRelationManager::class
];
}