Skip to content

Instantly share code, notes, and snippets.

View chrispian's full-sized avatar

Chrispian chrispian

View GitHub Profile
@chrispian
chrispian / FilamentCardTableLayout.php
Created November 17, 2022 16:50 — forked from AAbosham/FilamentCardTableLayout.php
Filament Card Table Layout
<?php
namespace App\Filament\Resources\Trip;
//...
class PlaceResource extends Resource
{
public static function table(Table $table): Table
{
return $table
@chrispian
chrispian / BlockSettings.php
Created November 17, 2022 16:59 — forked from awcodes/BlockSettings.php
Filament Block Settings
<?php
namespace App\Forms\Components;
use Filament\Forms\Components\Group;
class BlockSettings extends Group
{
protected string $view = 'filament.forms.components.block-settings';