I use the localization feature of laravel for the localization of my application. When I set the locale to german (de) (using App::setLocale()) and use the validator rule 'amount' => ['required', 'numeric', 'min:0'], I get an validation error when validating "100000,00". "100000.00" works.
The problem is, that the decimal separator should depend on the locale: "." (dot) for English, "," for German.
Furthermore, the "numeric" rule does not allow the thousands separator at all. It should be allowed. Whether dot or comma again depends on the locale.
Any idea how to solve this in a clean way?