Summary

In this chapter we have built our first module, or bundle in Symfony terminology. The module itself is not really loosely coupled, as it relies on some of the things within the app directory, such as the app/Resources/views/base.html.twig layout template. We can get away with this when it comes to core modules, as they are merely a foundation we are setting up for rest of the modules.

Moving forward, in the next chapter, we will build a catalog module. This will be the basis of our web shop application.

Get Modular Programming with PHP 7 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.