filament/spatie-media-library compatibility implied by design), reducing boilerplate for media handling.media column in a table), which is compatible with Laravel’s Eloquent and database-agnostic. No schema migrations required beyond the JSON column.media.type or media.url).media column if missing).getMedia()).json type in MySQL 5.7+, jsonb in PostgreSQL). No schema migrations provided; must be added manually.3.x branch.main branch (PHP 8.2+ required).filament-tables) that also manage media. Test for overlaps.composer require webplusm/gallery-json-media
use Webplusm\GalleryJsonMedia\Fields\JsonMediaField;
public static function form(Form $form): Form
{
return $form
->schema([
JsonMediaField::make('media')
->label('Gallery Media'),
]);
}
@jsonMedia) or build custom views using the Fluent API.getTableRecords() or custom endpoints.How can I help you explore Laravel packages today?