Summary

Throughout this chapter we built a miniature but functional customer module. The module assumed a certain level of setup done on our security.yml file, which can be covered as part of module documentation if we were to redistribute it. These changes included defining our own custom firewall, with a custom security provider. The security provider pointed to our customer class, which in turn was built in a way that complies to the Symfony UserInterface. We then built a register, login, and forgot your password form. Though each comes with a minimal set of functionalities, we saw how simple it is to build a fully custom register and login system.

Furthermore, we applied some forward thinking, by using the specially defined service to set up ...

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.