Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

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.