Support the ongoing development of →

626 Threads

posted 6 years ago

Laravel custom validation message

I'm using laravel 5.4 to make a custom form validation. But why is the custom error message isn't di...

0 Likes 1 Replies

custom fields when throw Exception

Hi, I want to throw exception in my controller. I use this code: abort(404, 'user not found') I wan...

0 Likes 2 Replies

Laravel Policies on Route::group with Eloquent

i have a \App\Polices\CustomPolicy with a method public function view(User $user, CustomModel $model...

0 Likes 0 Replies

Format FormRequest Validation Error Response

with reference to

0 Likes 0 Replies

Laravel 5.3 - Login is not case-sensitive

Hi, I am using laravel authentication to authenticate my users. (Laravel 5.3) By default, Laravel us...

1 Likes 0 Replies
posted 6 years ago

Validation Rules

Hello, I have some problems with validation rules in FormBuilder. I want the second choice field to...

0 Likes 0 Replies

overriding response function is custom request classes in laravel

Hi I am using custom request class that extends laravel Request class validate user input data. I ov...

0 Likes 0 Replies
posted 6 years ago

validate directory read / write

Hi there, (im beginner in laravel:) how can i validate a file path for existent and then permissions...

0 Likes 4 Replies

Laravel 5.3 Validation

When I use variables in $rules and in $validator the code doesn`t work. Where is my mistake? $sumaRa...

0 Likes 0 Replies
posted 6 years ago

validator always returns false

Hey Guys, I need your help, because i'm new in laravel. This is the code of my upload controller:...

0 Likes 3 Replies

Manipulate form request data

Hi there, Does anyone know how I can modify the data a form request object contains before it is use...

0 Likes 5 Replies

Validating route parameters in form requests

Hey, I'd like to ask you guys how you validate route parameters with a form request. I have the foll...

0 Likes 1 Replies

Call to undefined method Illuminate\Database\Query\Builder::findBySlugOrFail() -- Please Assist

<?php namespace App; use Cviebrock\EloquentSluggable\Sluggable; use Illuminate\Database\Eloquen...

0 Likes 0 Replies

Check if requested object is null

Hey, at first: sorry for my bad english, I hope you'll unterstand my problem. So, I would like to ch...

0 Likes 3 Replies

Laravel Register didn't Create New Data

I have tinkering my laravel project awhile, and when I try using register auth from laravel to input...

0 Likes 3 Replies

Laravel large size image upload validator not work

I'm using Laravel: 5.2.* as my project and trying to validate/restrict large size(max:600kb) image(S...

0 Likes 0 Replies

Validating and storing checkboxes

I'm building a quote form and need help passing data into my controller for validation. I have the f...

0 Likes 0 Replies

production.ERROR: exception 'Exception' with message 'Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed'

I’m having an issue with a file upload. I’m getting the following error in my laravel log. [2016-12-...

0 Likes 4 Replies

Laravel 5.2+ date before and after date validation not working

This works 'expected_at' => 'date|after:"2016-04-09 10:48:11"', Or this works $rules['...

0 Likes 1 Replies

validation errors in response to ajax request are sent as text/html

I have a html form communicating with Laravel with AJAX requests. form data is validated in server-s...

0 Likes 3 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.