Lesson 11 Laravel Model in depth

Опубликовано: 04 Август 2026
на канале: Code With ERaufi
428
11

Buy Me a Coffee: https://buymeacoffee.com/eraufi
In this Laravel model tutorial, you'll learn some advanced tips and tricks to help you take your skills to the next level. You'll discover how to use accessor and mutator methods to modify your model data, as well as global and local scopes to query your data more effectively. You'll also learn about Eloquent events, which let you execute code when certain model events occur, such as when a model is saved, updated, or deleted. By the end of this video, you'll have a deeper understanding of how to work with Laravel models and be able to take advantage of some powerful features to make your code more efficient and maintainable.

Chapters:

0:00 Introduction
01:38 Cast
03:43 Hidden
05:15 Append
08:20 Local Scope
12:20 Global Scope
17:37 Eloquent Events
21:50 Accessor and Mutator