laravel field validation greater than 0 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