Level 54
there is not such think called prefix if not mistaken nor mix custom like you mentioned, you should use closure to custom whatever your like;
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
i want prefix_custom require if prefix >2 i try 'prefix' => 'integer', 'prefix_custom' =>'required_if:prefix,gt,2', and 'prefix' => 'integer', 'prefix_custom' =>'required_if:prefix,>,2',
togethar not work
there is not such think called prefix if not mistaken nor mix custom like you mentioned, you should use closure to custom whatever your like;
Please or to participate in this conversation.