Support the ongoing development of Laravel.io →

786 Threads

Validation & Localization

In my case,Many tables has the column called name.In English,This word can use in everywhere,In diff...

0 Likes
4 Replies

File upload (docx, pdfs, jpeg.. Etc) with the use of vform

Hi, I am having trouble on my document form with file upload and im using the vform npm package for...

0 Likes
0 Replies

larav 5.8 - cutom rule validation (array as arg and query)

Hello. I just start works with laravel and right now i have this problem. I create simply system res...

0 Likes
1 Replies

L5.8 assertSessionHasErrors() fails to assert false or true

Laravel Version: 5.8.* PHP Version: 7.1.19 Database Driver & Version: MySql 5.6.37 Description:...

0 Likes
0 Replies

RouteBinder - an open source library - feedback most welcome

RouteBinder is a package designed to help you with clean model validation when using Laravel route b...

0 Likes
0 Replies
posted 5 years ago

How to check unique key validation on Update

While adding a record we can check a unique key field with unique:<table>,<column> valid...

0 Likes
4 Replies

Check user settings before sending an email notification

I have a receiveEmail boolean field in the User model of a Laravel application. How do I ensure that...

0 Likes
2 Replies

Laravel Request Validation API

When I Create own method for Validation extends FormRequest , Validation working but its not redirec...

0 Likes
0 Replies

Can't access data from custom error named bag

Hello! For some reasons I can't access data from error bag. I've assigned them to variable in view b...

0 Likes
0 Replies

Help determining Socialite token validation steps.

Hello All, I apologize if there is a source for this information and I have missed it. I have read t...

0 Likes
0 Replies

Controller Won't Return Defined Status Codes

Hi, I am stuck with a major issue. I have being developing a application for a while. I had set some...

0 Likes
0 Replies

Domain Meta Validation

I have a code set on Laravel. This is doing dns verification, I want to verify a specific field in t...

0 Likes
0 Replies

SQLSTATE[HY000]: General error: 1364 in LARAVEL 5.7

I tried to validate data inserted into a form before storing into database. basically the model has...

0 Likes
1 Replies
Solved

How to logout specific user in Laravel 5.6?

Hello, What is the best way to logout specific user in Laravel? Auth::logout() will just logout th...

0 Likes
1 Replies

Two field in combination should be unique in Database

Hello, I need to have validation where two field in a table in exact this combination should be uniq...

0 Likes
3 Replies

Is Rule::exists/unique available with Eloquent/Builder?

Is it possible with current exists/unique validation rules to use model methods in laravel? Like use...

0 Likes
0 Replies

Unique Validation based on user location

I need to register same user with same email address for different locations using unique validation...

0 Likes
2 Replies

Laravel 5.5 Validation Message

I have a method: protected function validateLogin(Request $request) { $this->validate...

0 Likes
1 Replies

middleware not allowing me login on web guard

public function handle($request, Closure $next, $guard = null) { switch($guard){ case 'admin': if(Au...

0 Likes
0 Replies
posted 10 years ago

Create custom validation rule which takes two fields as arguments

Hi! I'm creating a custom validation rule since I don't think I can do this with the existing rules....

0 Likes
10 Replies
Solved

Thanks to our community

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

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.