Support the ongoing development of Laravel.io →
anitaiguanita

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...

Likes Replies
4 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?

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

© 2022 Laravel.io - All rights reserved.