Skip to main content

Laravel 8 advanced tips and tricks beginner and intermediate

1h 56m 50s
English
Paid

Laravel 8 is the latest version of the popular PHP framework, and this course is designed to teach you the newest and most efficient ways to develop a Laravel project or app. With over 60 million downloads from its GitHub repository, Laravel is currently one of the most in-demand frameworks in the market. Rest assured, this course will be updated regularly to reflect any changes, so you can continue to learn confidently without worrying about the content becoming out-of-date.

What You Will Learn

In this course, you will gain a deep understanding of the following topics:

Eloquent ORM in Depth

  • Appending Data: Learn how to efficiently append data to your models.

  • Accessors and Mutators: Master the use of accessors and mutators to manipulate model attributes.

  • Event Observer: Understand how to use events like creating, created, updating, updated, deleting, and deleted.

  • Casting Data: Implement data casting for type safety and convenience.

  • Primary and Foreign Keys: Explore techniques for working with keys.

  • Timestamps Fields: Gain insights into managing timestamp fields effectively.

  • Route Binding: Utilize route binding for seamless parameter identification.

  • The Optional Helper: Discover the potential of Laravel's optional helper.

  • Pivot Models: Learn advanced techniques for managing pivot models in many-to-many relationships.

  • Changed Attributes & More: Check changed attributes and explore additional advanced Eloquent features.

Advanced Database and Migrations

  • Renaming Tables: Learn how to rename database tables effectively.

  • Renaming Columns: Master the technique of changing column names.

  • Changing Column Data Type: Learn how to modify column data types.

  • Seeding a Single Class: Efficiently seed your database with specific classes.

  • Dropping Tables Using Tinker: Understand how to safely drop database tables.

  • Performing Trick Operations: Execute advanced operations like increasing, decreasing, and subqueries.

Request Validation in Depth

  • Advanced Validation Rules: Implement complex validation rules with ease.

  • Manipulating Error Messages: Customize error messages for a better user experience.

  • Authorization: Understand and apply authorization policies within your application.

  • Conditional Validation: Validate values based on conditions or other values.

  • And More: Delve into additional validation techniques and best practices.

About the Author: udemy

udemy thumbnail
By connecting students all over the world to the best instructors, Udemy is helping individuals reach their goals and pursue their dreams. Udemy is the leading global marketplace for teaching and learning, connecting millions of students to the skills they need to succeed. Udemy helps organizations of all kinds prepare for the ever-evolving future of work. Our curated collection of top-rated business and technical courses gives companies, governments, and nonprofits the power to develop in-house expertise and satisfy employees’ hunger for learning and development.

Watch Online 39 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 39 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: The motivation behind the course
All Course Lessons (39)
#Lesson TitleDurationAccess
1
The motivation behind the course Demo
01:05
2
How to get the out of most of the course
00:32
3
Let's start !
01:42
4
Remove or renaming timestamps columns
04:28
5
Remove or rename primary keys
04:12
6
Find multiple
00:50
7
Get only what you want
01:49
8
Let's stop using find($id)
01:18
9
Accessors and mutators
06:20
10
Appending data
01:23
11
Casting attributes
02:17
12
Set Pagination per page items
00:51
13
Pivot model
07:24
14
Observe changes
04:08
15
Get changes
02:43
16
Optional helper
01:18
17
Let's stop using where where where
01:05
18
Replicate data
01:41
19
Need more ?!
00:26
20
Up and down methods
01:59
21
Renaming table
05:00
22
Adding and dropping columns
03:47
23
Modifying columns
02:01
24
Modifying enum columns
04:31
25
Modifying tables via tinker
01:27
26
Seeding a specific class
01:52
27
Get what you want from pagination
00:58
28
Prepare a new project
11:33
29
Exist tricks
07:48
30
First tricks
07:00
31
With tricks
02:26
32
Need more ?
00:29
33
Authorization
06:53
34
show filed not field_id
03:13
35
Exists rule
03:15
36
Custom rule
02:24
37
Some helper methods
03:57
38
Need more ?!
00:24
39
Next stpes
00:21
Unlock unlimited learning

Get instant access to all 38 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription