ichbin/filament-meta

This is my package filament-meta

Fund package maintenance!
IchBin

dev-main 2022-12-19 13:20 UTC

README

Latest Version on Packagist Total Downloads

Simple meta for filament. Need to install Spatie Media library to work.

Installation

You can install the package via composer:

composer require ichbin/filament-meta

You can publish and run the migrations with:

php artisan vendor:publish --tag="filament-meta-migrations"
php artisan migrate

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-meta-views"

Usage Model

use IchBin\Meta\Concerns\HasMeta;

class Page extends Model
{
    use HasMeta;
    

Usage Filament resource

use IchBin\Meta\Components\Meta;
use Filament\Resources\Pages\EditRecord;


Meta::make()
                    ->collapsed(fn ($livewire) => $livewire instanceof EditRecord)
                    ->collapsible(),

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.