Skip to main content

SOLID Code in Laravel

1h 46m 51s
English
Paid

Want to secure a Senior Laravel Developer position? Mastering software design principles, particularly SOLID, is essential.

Course Overview

If you're looking for a practical approach to learning SOLID principles and their application in Laravel projects, this concise 1.5-hour course is designed for you. We'll not only cover each of the five principles in detail but also examine their implementation in real-world, open-source projects. Additionally, we'll explore other key principles and develop strategies for effectively thinking about SOLID. Are you ready to dive in?

What You Will Learn

Understanding SOLID Principles

Gain a deeper understanding of each of the SOLID design principles:

  • Single Responsibility Principle
  • Open/Closed Principle
  • Liskov Substitution Principle
  • Interface Segregation Principle
  • Dependency Inversion Principle

Applying SOLID in Laravel

Discover practical examples of how these principles are applied in existing open-source Laravel projects.

Additional Discussions

Beyond SOLID

We will also delve into other important software design principles and share insights on how to cultivate a SOLID mindset throughout your development process.

About the Author: laraveldaily.com

laraveldaily.com thumbnail
My name is Povilas Korop, and I’m main author of Laravel Daily, since 2015. As a Laravel web-developer, I deal with a lot of small things here and there. Daily. And I decided to share them with the world, also daily. So Laravel Daily project has a goal of helping developers to learn some new Laravel trick (or remember an old one) every day.

Watch Online 21 lessons

This is a demo lesson (10:00 remaining)

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

View Pricing
0:00
/
#1: Before We Begin: What is SOLID and My Initial Thoughts
All Course Lessons (21)
#Lesson TitleDurationAccess
1
Before We Begin: What is SOLID and My Initial Thoughts Demo
02:09
2
S: Single-Responsibility Principle - Too Big Methods
05:52
3
S: Single-Responsibility Principle - Too Big Controllers
04:11
4
O: Open-Closed Principle - Report Formats with New Classes
05:04
5
O: Open-Closed Principle - Vendor in Laravel
02:49
6
O: Open-Closed Principle - Eloquent Attribute with Salary Calculator
04:05
7
L: Liskov Substitution Principle - Type-Hint Everything
06:22
8
I: Interface Segregation Principle - Default Laravel Models
03:22
9
I: Interface Segregation Principle - Separate Data and Download
02:53
10
D: Dependency Inversion Principle - Pass the Parameter as Interface
03:29
11
D: Dependency Inversion Principle - Report Interface
01:45
12
Monica CRM: 4 Principles with Some Potential Improvements
12:12
13
Koel Music Service: Useful Services and Kinda Useless Repositories?
07:06
14
Spatie Media Library: HasMedia Interface with Trait Implementation
04:21
15
Laravel Fortify: Override Views for All Pages
03:01
16
Tools for Static Analysis to Detect SOLID Violations: Larastan, PHP Insights, PHP Metrics
22:07
17
DRY: Blade Components
03:03
18
Fowler's Code Smells
02:07
19
YAGNI And Premature Optimisation
04:53
20
SOLID is Too Old? Introducing SHOC and CUPID
03:42
21
So How to Apply SOLID in Everyday Coding?
02:18
Unlock unlimited learning

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

Learn more about subscription