By so far you have understood that the total Laravel 5 framework depends on many blocks of Interfaces, classes, and other packaged versions that package developers have developed so far. Laravel 5 has happily used them, and I encourage you to do the same by following the SOLID principle and loose coupling. To master the Framework properly, you need to understand the core services that run Laravel 5. What are the main resources behind the scene? Basically, Contracts come in between regarding this scenario. Contracts are interfaces that provide this core services. Like ‘Illuminate\Contracts\Mail\Mailer’ ...
© Sanjib Sinha 2017
Sanjib Sinha, Beginning Laravel, 10.1007/978-1-4842-2538-7_19
19. Contracts vs. Facades
Sanjib Sinha1
(1)Howrah, West Bengal, India
Get Beginning Laravel: A beginner's guide to application development with Laravel 5.3 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.