Manage any type on your app in Database with easy to use Resource for FilamentPHP
composer require tomatophp/filament-types-module-module
after install your package please run this command
php artisan filament-types:install
you can add new type using config file config/filament-types.php
or you can register a type from your provider using our Facade
use Modules\TypesManager\Facades\FilamentTypes;
FilamentTypes::register([
'types',
'groups'
], 'accounts');
you can access types from anywhere by using type helper function
type_of($key);
i will return type object
you can use type column in your table like this
use Modules\TypesManager\Components\TypeColumn;
TypeColumn::make('type')->searchable(),
you can join our discord server to get support TomatoPHP
you can check docs of this package on Docs
Please see CHANGELOG for more information on what has changed recently.
Please see SECURITY for more information about security.
The MIT License (MIT). Please see License File for more information.