F
Filamentβ€’2mo ago
Gunnolfson

Table page without Eloquent Model

Hi, I read this page: https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component#adding-the-table I try to implement a page where it lists some resources, but that are not Eloquent Models. It can be for example files for my backups in order to allow an admin to download it, records on external API etc. I know there is the Sushi package that allows to create eloquent models not related to DB but I don't like it so much. Is there a way to manually fetch rows and still use the abstraction of the table builder or do we have to manually write the blade file with <x-filament-tables::table> components?
Solution:
It's not possible in v3, but will be in v4. You need models for the current table .
Jump to solution
3 Replies
Solution
toeknee
toekneeβ€’2mo ago
It's not possible in v3, but will be in v4. You need models for the current table .
Gunnolfson
Gunnolfsonβ€’2mo ago
Ok thanks πŸ‘ So creating a livewire component and using blade component is the way to do for the moment?
toeknee
toekneeβ€’2mo ago
Correct