Download the PHP package tomatophp/filament-meta without Composer
On this page you can find all versions of the php package tomatophp/filament-meta. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tomatophp/filament-meta
More information about tomatophp/filament-meta
Files in tomatophp/filament-meta
Package filament-meta
Short Description Convert any model on your app to pluggable model using Meta and get ready to use relation manager on FilamentPHP panel
License MIT
Informations about the package filament-meta
Filament Meta Manager
Convert any model on your app to pluggable model using Meta and get ready to use relation manager on FilamentPHP panel
Screenshots
Installation
after install your package please run this command
on your model you want to use meta on it, just add this trait
now on your Resource you can add meta relation manager like this
Usage
meta trait add ->meta()
method to your model that you can use to get meta data
if the key not exists it will create it for you, if you like to set data it's very easy
if you like to set data null to selected key just pass null as value
the meta accepts array as value
Disable Create New meta
publish your config using this command
then go to config/filament-meta.php
and set create
to false
Publish Assets
you can publish config file by use this command
you can publish views file by use this command
you can publish languages file by use this command
you can publish migrations file by use this command
Testing
if you like to run PEST
testing just use this command
Code Style
if you like to fix the code style just use this command
PHPStan
if you like to check the code by PHPStan
just use this command
Other Filament Packages
Checkout our Awesome TomatoPHP
All versions of filament-meta with dependencies
tomatophp/console-helpers Version ^1.1
filament/filament Version ^3.2
genealabs/laravel-model-caching Version ^11.0