has many check greater than 0 laravel code example
Example: laravel validation number greater than 0
//amount must be greater than 0 laravel validation
function store(Request $request)
{
$request->validate([
'product_price' => 'required|numeric|gt:0'
]);
}
//@sujay