Browse all series
TechniquesAdvanced14 episodes

Write Code That's Easy to Maintain

Maintaining a codebase that's easy to read and understand not only contributes to the developer experience, it also has a direct impact on the performance of the team. During this course, we'll cover techniques for designing your code in such a way that will make it easy to extend and maintain in the long run. Regardless of if you start clean, or you inherit a complex codebase, you can own your code and make solid design decisions.

Series episodes

Introduction

3m 54s

Join Katerina for a friendly intro to this series, where you'll get a clear overview of the Laravel topics we'll explore together. Let's dive in!

Optimize for Readability and Easy Navigation

9m 2s

Boost code readability and maintainability by applying the Interface Segregation Principle. Learn to create clear, focused interfaces for cleaner Laravel apps!

Decouple Your Code

6m 22s

Improve your Laravel code by applying the Single Responsibility Principle. Learn to organize and extend your code effortlessly without repetitive changes!

Plan for Future Changes

4m 55s

Learn how to plan for future changes by applying the Liskov Substitution Principle, using interfaces and interchangeable classes to keep your Laravel code flexible!

Invert Dependencies

6m 26s

Explore the Dependency Inversion Principle to write flexible, maintainable Laravel code by depending on abstractions—not low-level details. Learn how today!

Add, Don't Change

7m 51s

Follow the Open/Closed Principle and extend your app by adding new code, not altering existing code, to ship features safely and keep systems stable.

Don't Overdo SOLID

8m 11s

Don't overdo SOLID: learn when to apply principles and when to favor practical design, so your project stays maintainable, flexible, and simple.

Consider Scratch Refactoring

7m 46s

Learn how to tackle complex, tightly coupled codebases with scratch refactoring. This Laracasts tutorial guides you to understand and improve code systematically.

How to Test Untestable Code

10m 30s

Struggling to test legacy code? Learn how characterization testing helps you safely refactor untestable code in this clear, friendly Laracasts tutorial.

Extending Code That Wasn't Designed for Extensibility

1m 40s

Struggling with messy legacy code? Discover why adding bad code worsens it and get ready for practical solutions to extend and improve your codebase.

Leverage Seams to Add New Functionality to Existing Code

8m 29s

Learn how to add new features to legacy code by leveraging seams and refactoring with smart design practices for cleaner, maintainable Laravel projects.

Add Functionality by Applying the Sprout and Wrap Techniques

6m 56s

Learn how to extend legacy code fast using sprout and wrap techniques. Add new features efficiently, even under tight deadlines, with this practical lesson.

Leave the Codebase Cleaner Than You Found It

5m 49s

Learn practical ways to leave your codebase cleaner than you found it. Discover actionable tips beyond renaming and refactoring to improve your Laravel projects.

Wrap Up

1m 55s

Thanks for joining the series! Wrap up your learning with key takeaways and feel free to ask questions. Let’s keep growing your Laravel skills together!

Continue learning

Thumbnail for Playing With PHP
Playing With PHP

With Andre Madarang

  • 8 episodes
  • Intermediate
  • Techniques
Thumbnail for Practical Progressive Web Apps
Practical Progressive Web Apps

With Jeremy McPeak

  • 20 episodes
  • Intermediate
  • Techniques
Thumbnail for SOLID Principles in PHP
SOLID Principles in PHP

With Jeffrey Way

  • 5 episodes
  • Advanced
  • Techniques
Thumbnail for Modals with the TALL Stack
Modals with the TALL Stack

With Jeffrey Way

  • 9 episodes
  • Intermediate
  • Techniques
Thumbnail for Modular Laravel
Modular Laravel

With Mateus Guimarães

  • 25 episodes
  • Advanced
  • Techniques

Would you like to hear from Laracasts by email occasionally?