Basic Form Validation In Laravel | Laravel For Beginners | Learn Laravel

  Рет қаралды 14,920

Code With Dary

Code With Dary

Күн бұрын

This video will show you how you could simply add validation on your requests in Laravel - Learn one of the most popular PHP frameworks for its advanced features, templating engine, fast commands and security.
📚 New Udemy Course
If you're looking to level up your Laravel skills, my new course "Udemy Migirations, Seeders, Factories, Query Builder, Eloquent & Relationships" is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel: www.udemy.com/course/masterin...
📲 Let’s plan a meeting
Plan a (paid) 1-hour meeting on Calendly to do portfolio reviews, code reviews resume reviews or a coaching session for Laravel. Please read the description before booking: calendly.com/codewithdary
💌 Newsletter
Sign up for my free weekly email newsletter: www.newsletter.codewithdary.com
🔥 Resources
- PHP Hosting (10% DISCOUNT): www.hostinger.com/codewithdary
- TikTok: / codewithdary
- Instagram: / codewithdary
- Twitter: / codewithdary
- Blog: blog.codewithdary.com/
- Newsletter: newsletter.codewithdary.com/
- Patreon: www.patreon.com/user?u=30307830
- GitHub: github.com/codewithdary/larav...
Coding Gear
- MacBook Pro: amzn.to/3qTMnGi
- Dell XPS: amzn.to/3Atp7Cm
- LG 34WN650-W: amzn.to/3G0XMbS
- Magic Trackpad 2: amzn.to/3Arp2ir
- Magic Mouse 2: amzn.to/346k5zC
- NAS: amzn.to/3rFf60U
- Sandisk SSD: amzn.to/3fNHcBB
- Rain Design Stand: amzn.to/3GTMeZ5
Recording Gear
- Rode NT-USB [Start]: amzn.to/3ApApXY
- Shure SM7B [Advanced]: amzn.to/3Arj5lv
- Rode PSA1: amzn.to/32pMCQ5
- Focusrite Scarlett 2i2: amzn.to/3FYZD0t
- XLR to XLR: amzn.to/3qVm2rC
Want to learn more?
- Courses: / @codewithdary
📋 Table of Content
00:00 - Introduction
00:55 - Error messages for invalid input data
04:20 - Rules for validation
06:17 - How to print out errors in the UI
08:23 - Custom messages
#laravel #laravel8 #php #request

Пікірлер: 23
@codewithdary
@codewithdary 2 жыл бұрын
LETS CONNECT THROUGH INSTAGRAM. www.Instagram.com/codewithdary
@InnerWorld933
@InnerWorld933 Жыл бұрын
I have been learning laravel since last week...and here I am...got the best content on youtube. Thanku sir ....
@codewithdary
@codewithdary Жыл бұрын
Wow, thank you so much. I got a lot more content on my channel if you are interested :)
@InnerWorld933
@InnerWorld933 Жыл бұрын
@@codewithdary yes I'm learning from your videos.
@dearbeargaming4106
@dearbeargaming4106 3 жыл бұрын
Thanks for teaching me Laravel from scratch.
@codewithdary
@codewithdary 3 жыл бұрын
You're welcome!
@supbar2007
@supbar2007 3 жыл бұрын
Thanks man.
@codewithdary
@codewithdary 3 жыл бұрын
Happy to help buddy
@bloxzyo
@bloxzyo 2 жыл бұрын
Hello Dary, I really like your content and learning a lot from you. In this video you did 'name' => 'required|unique:cars'
@manto7
@manto7 3 жыл бұрын
Hello Dary. I really appreciate your content. I started your Laravel series yesterday night. But I'm on windows and I am facing difficulties installing Laravel properly. Can you please make a short video for the windows users to set up the environment properly? Waiting for your response bro
@niklaswennerstrand1010
@niklaswennerstrand1010 3 жыл бұрын
Quick fix: Search youtube "Laravel Windows"
@codewithdary
@codewithdary 3 жыл бұрын
I might do it in the future but I can write down the steps if you like to?
@codewithdary
@codewithdary 3 жыл бұрын
+ 1
@manto7
@manto7 3 жыл бұрын
@@codewithdary yeah sure. Steps can be helpful too
@dumitruboaghi4404
@dumitruboaghi4404 3 жыл бұрын
Actually, it's equal to what he use for mac, expect you not doing stuff which he does on mac. also i use git bash terminal for vscode. rest remains the same. Also, f.e. as web-server i use Open Server.
@bieberbalazs6826
@bieberbalazs6826 3 жыл бұрын
Thank you for your tutorial! What if i have multiple inputs with same name? How can i save that in the database in different row? Exemple: Thank you.
@codewithdary
@codewithdary 3 жыл бұрын
Why would you want to have the same name? Lol.
@bieberbalazs6826
@bieberbalazs6826 3 жыл бұрын
@@codewithdary It is very simple. At the same time i would like to add a lot of product to the database. So if i have iphone product wich is red, green and blue, i do not need to add 3 different times. So first i jusr have one line of inputs. and here i have a button wich add one more line.
@junaidhassan8296
@junaidhassan8296 2 жыл бұрын
I have a question: 'name(input name)' => 'required|unique:cars(table name)' How laravel will know that name_input should be check for uniqueness in only name_column of database?
@codewithdary
@codewithdary 2 жыл бұрын
The key of your array is the column it searchers for. You can test this out by changing the key :)
@o.r.b.3190
@o.r.b.3190 11 ай бұрын
mistake at 5:33. right is: 'name' => ['required', 'uniq...', ... ]
@codewithdary
@codewithdary 11 ай бұрын
Oops.
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
Pleased the disabled person! #shorts
00:43
Dimon Markov
Рет қаралды 29 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 25 МЛН
Introduction To Eloquent | Laravel For Beginners | Learn Laravel
45:20
Learn Zod In 30 Minutes
31:03
Web Dev Simplified
Рет қаралды 139 М.
Validation | Laravel 10 Tutorial :  #12
7:05
Yelo Code
Рет қаралды 8 М.
What's New in Laravel 10 - Introducing Laravel Pennant
16:56
Laracasts
Рет қаралды 21 М.
Laravel First Impressions From A JavaScript Dev
21:08
adamdotdev
Рет қаралды 124 М.
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32