Support the ongoing development of →

769 Threads

Use unique validation for only specific record in database table

I'm trying to validate unique title for specific book_id it means is should be unique only specific...

0 Likes 1 Replies

Multiple Authorisation/ multiple groups of roles - preferred starting package

Hi To be fair Im just starting to look into Laravel. The end goal is to have different schools to lo...

0 Likes 1 Replies

error make:request

Hello, Please help me, this is the error that i get when i execute this php artisan make:request Pro...

0 Likes 0 Replies

carbon button

i try make button disabled if not expired but after expired button not function like disabled not en...

0 Likes 0 Replies

Laravel compare dates

Dear, I ran into a issue with laravel I want to 'compare' dates. This to creatae a appointment, but...

0 Likes 1 Replies

how to show login validations errors using this code

with using this code $auth = Auth::guard('web')->attempt(['email'=>$request->email,'passwor...

0 Likes 0 Replies

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

Validation, 2 fields unique

How can I have a unique validation rule on 2 fields? a. The application should not allow two people...

0 Likes 1 Replies

Format FormRequest Validation Error Response

with reference to

0 Likes 0 Replies

take previous value in Laravel Excel

Hi guys! I'm currently trying to implement something like this but with laravel- Excel: link Excel:...

0 Likes 1 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

Validation Rules

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

0 Likes 0 Replies

Validator errors not in session?

I am validating a form with the following $validator = \Validator::make($request->all(), [ 'p...

0 Likes 11 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


Does anyone have any ideas on how to perform validations on fields from different tables.? I have qu...

0 Likes 3 Replies

How to implement laravel request validation

Hello All, Now i am trying to implement laravel validation on my API controller, and here is my cont...

0 Likes 5 Replies

Validation Rule - Ignore on Update

Hi all - I'm stumped with rule validation on update. All the examples use a user class but if I crea...

0 Likes 3 Replies

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

Thanks to our community

Solutions given in the past year.


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.

© 2022 - All rights reserved.