Support the ongoing development of Laravel.io →

anitaiguanita

Joined 25 May 2017

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

Laravel request for specific unique field

Hi, I have my request form for destinations, it has, id, name and location_id so depending on the lo...

0 Likes
1 Replies
replied 6 years ago

Laravel request for specific unique field

I could do it like this $rules = [ 'name' => Rule::unique('price_types')->where('location_id',...

0 Likes

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.