Summer Sale! All accounts are 50% off this week.

Cushty's avatar
Level 4

Filament custom rules, in rules folder or forms/components.

Hi, I need to reuse some rules in a filament resource and I was wondering if I should put them in the default Laravel rules folder or the app/forms/components folder. Thanks

0 likes
1 reply
prasadchinwal5's avatar

They recommend to check the Laravel documentation which tells follows the standard to place the rules under app/Rules directory. So I would follow the same.

Please or to participate in this conversation.