© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
Mina

Excel export

hi everyone, I really need help with this, I need to generate a csv file with this data:
$user->name,
$user->owner_email,
$user->group,
$user->plan_name,
$user->lastRecurringCharge()->activated_on ?? null,
$user->lastRecurringCharge()->trial_ends_on ?? null,
$user->lastRecurringCharge()->status ?? null,
$user->created_at,
$user->updated_at,
$user->currency,
$user->shop_id,
$user->locale,
$user->timezone,
$user->plan->name ?? null,
Now, this lastRecurringCharge is a method and charges are a hasMany relationship. Since we can't use methods in column builder is there another way I can show this data? I tried with format state but that didn't work. I am pretty new to this so if I'm missing something please let me know
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

excel export
FilamentFFilament / ❓┊help
2y ago
export excel
FilamentFFilament / ❓┊help
2y ago
Excel Export
FilamentFFilament / ❓┊help
3y ago
export excel query
FilamentFFilament / ❓┊help
2y ago