Level 51
You can create custom validation rule
https://laravel.com/docs/5.6/validation#custom-validation-rules
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How can I check (validate) if the given value is numeric and (DOUBLE).
In laravel request validation there is a lot of methods to check numbers and and dates.
@AbdallahSabri Just use numeric. A double is a numerical value.
If you need to do anything more specific, you can check the format using a regex validation rule.
Please or to participate in this conversation.