Skip to main content
CF

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

Udemy is the largest open marketplace for online courses on the internet. Founded in 2010 by Eren Bali, Oktay Caglar, and Gagan Biyani and headquartered in San Francisco, the company went public on the Nasdaq in 2021 under the ticker UDMY. The platform hosts well over two hundred thousand courses across software development, IT and cloud, data science, design, business, marketing, and creative skills, taught by tens of thousands of independent instructors. Roughly seventy million learners use it worldwide, and the corporate arm — Udemy Business — supplies a curated subset of that catalog to enterprise customers.

Because Udemy is a marketplace rather than a single editorial publisher, the catalog is uneven by design. The strongest material lives in the long-form, project-based courses authored by working engineers — full-stack JavaScript, React, Node.js, Python data science, AWS, Docker and Kubernetes, mobile development with Flutter and React Native, and cloud certification preparation. The CourseFlix listing under this source is the slice of that catalog that has been mirrored here for offline-friendly viewing, organized by topic and updated as new releases land. Pricing on Udemy itself swings dramatically with the site's near-permanent sales, which is why the platform is best treated as a deep reference catalog: pick instructors with strong reviews and a track record of updating their material rather than buying on the headline price alone.

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

Related courses

Frequently asked questions

What are the prerequisites for enrolling in this Laravel course?
Before enrolling in this course, students should have a basic understanding of PHP and web development concepts. Familiarity with Laravel's basic functionalities is beneficial but not required, as the course is tailored for beginners and intermediates looking to deepen their knowledge of Laravel 8.
What projects or applications will I be able to build after completing the course?
After completing the course, students will be able to develop advanced Laravel projects and applications utilizing features like Eloquent ORM, route binding, and pivot models. These skills will enable the creation of dynamic, data-driven web applications with efficient data handling and manipulation using Laravel 8.
Who is the target audience for this Laravel course?
The course is designed for beginner and intermediate developers who wish to enhance their skills in using Laravel 8. It is ideal for those who have a foundational understanding of PHP and are interested in learning more advanced techniques for developing web applications with Laravel.
How does the depth of this course compare to other Laravel courses?
This course offers a detailed exploration of advanced Laravel 8 features, focusing on Eloquent ORM, event observers, and route binding, among other topics. It is more in-depth than introductory courses, providing insights into efficient data manipulation and management techniques that are essential for professional Laravel development.
What specific tools or platforms will be covered in the course?
The course covers a variety of Laravel 8 tools and features such as Eloquent ORM for data management, the optional helper for handling null values, and advanced route binding techniques. Students will also learn about modifying database schemas using Laravel's migration system and optimizing data retrieval with custom pagination.
What topics are not covered in this Laravel course?
The course does not cover introductory concepts of PHP or basic Laravel setup and configuration. It focuses on advanced features and assumes some prior knowledge of Laravel basics. Topics like frontend development or integration with JavaScript frameworks are also not included.
How much time should I allocate to complete the course?
The course comprises 39 lessons, and while the total runtime is not specified, students should expect to spend several hours on each topic to fully understand and apply the concepts taught. Allocating regular study sessions and practice time will be crucial to mastering the advanced Laravel 8 techniques covered.