Summary

Although we have covered a lot in this chapter, Eloquent is so feature-rich that unfortunately, there isn't room to cover each and every one of its features. We have covered the most important aspects of Eloquent, though, and that will set you well on your way to saving and retrieving data, creating relations of varying complexity between your models, and handling various events raised during your models' lifecycle.

The next chapter sees us move on to learn all about testing our application so it remains as bulletproof as possible.

Get Laravel 5 Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.