© 2026 Hedgehog Software, LLC

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

Custom primary ID generator

So, I'm all out of idea or insight. And i need your help guys.

I want to create a custom primary ID that generates with prefix followed by a number i.e. "abc - 000000" or "abc 00-00-00 and auto increments or it checks the last number generated and increment on that.
Yes, Ive already seen laravel custom ID generator. But is there any tutorial out there with a better approach or a better implementation in filament for this kind of custom ID?

Any inputs or feedback will be much appreciated!
Solution
There is nothing particularly unique about custom ID generation in Filament. You can utilize the custom ID generation capabilities available in Laravel, which you are already familiar with.
Jump to solution
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

custom primary id breaks URL's
FilamentFFilament / ❓┊help
3y ago
Custom Column generator problem
FilamentFFilament / ❓┊help
15mo ago
How to make custom delete if the primary key is "key" not id?
FilamentFFilament / ❓┊help
13mo ago
Displaying data without an ID or primary key
FilamentFFilament / ❓┊help
2y ago