How can I contribute to a third-party symfony bundle?

I am trying to add a missing feature to a package. Here is what I have done so far:

  • We talked with the owner of the project and received approval
  • Created a fork and cloned it locally to a directory outside of my project
  • Created a branch with functions
  • Ran composer install

Now, the question is, how can I include this in my own Symfony project so that it automatically loads? I want to check my changes inside my own project before submitting a transfer request.

+5
source share
2 answers

See How to require a plug with a composer , to be specific, a VCS repository is required, as described in Composer Documents

Or a little faster to improve the development process (which is not dependent on Github), try using local repositories .

+6
source

You can archive in two ways:

  • You can hack the provider folder by replacing the package folder with a symbolic link from a third-party package
  • [RECOMENDED] Put a link to your personal github project in the composer.json file of your project instead of the official version.
+3
source

All Articles