Category "laravel-formrequest"

Laravel Auth FormRequest works when accepting JSON, fails when accepting form data

This is very strange. I have an endpoint that accepts a PUT request. namespace App\Http\Requests; use Dingo\Api\Http\FormRequest; class UpdateTestRequest extend

FromRequest Validation for Get Method is not working -Laravel

I am doing request validation using FormRequest Method. I am using GET method. All things seems correct but validation is not working. My Controller use App\Ht

Customizing Laravel validation JSON message format - Laravel

I'm trying to figure out how to customize the Form requests to validate By default Laravel gives a good enough JSON format for validation errors but what if we