Why Laravel min/max Fails on Numbers: Add the numeric Rule
Originally published at recca0120.github.io
I used min:1 to reject the number 0, but the validation passed anyway.
Why the min Rule Didn't Work
You might write the validation like this:
namespace App\Http\Controllers;
use Illuminate\Http\JsonRespons...
recca0120.hashnode.dev1 min read