O'Reilly logo

Extending Symfony2 Web Application Framework by Sébastien Armand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Sharing Your Extensions

Since everything is a bundle in Symfony, all the code you write is already in the structure it needs to be in order to be shared with others. If we take all the code that we wrote over the course of this book inside the BookBundle folder, and make it available to others, all they would have to do to make it work is copy our configurations. This is nice, but it is still a "lot of work" to do, which includes defining each of the services with the right parameters and so on.

In this chapter, we will look at the steps required to make an easy-to-use bundle for others as well as other best practices for sharing code. In Chapter 4, Security, we added a way for users to sign in using their GitHub account. This is a good ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required