Laravel, Laravel Tips And Tricks, Filament, Plugins, Demonstration.
is to fetch all events and return them as an array. app/Filament/Widgets/CalendarWidget.php: class CalendarWidget extends FullCalendarWidget { public function getViewData(): array { return Event::all()->toArray(); } } You can easily add a new event by simply clicking on the desired date in the