D
D
Dos2020-02-26 18:45:38
symfony
Dos, 2020-02-26 18:45:38

What is the best bundle to make?

I am making a component. He's practically ready. Now I'm thinking about Bundle. There are two options:

1. 2 bundles

Create a component bundle that will simply be a wrapper over the symphony. And already controllers for web, api and console should be done in another bundle. As a result, we have three packages per guide: the library itself (component), the bundle that connects this library and the bundle that will have controllers, rbac, etc.

2. 1 bundle
Here we simply implement everything we need for web, api, console.

The second way, I think, is better. But I would like to hear your opinion.

Thanks for the help!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question