A
A
Alexander Vladimirovich2018-08-10 08:36:11
symfony
Alexander Vladimirovich, 2018-08-10 08:36:11

How to properly organize the bundle development process?

Greetings!
Started developing my bundle for Symfony4 in a separate repository.
To test this bundle in action, I created a separate project, and connected the bundle to the project via composer.
In the process of developing a bundle, after making changes to it, you have to update the project to which it is connected every time. How to simplify this whole process?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2018-08-10
@polyanin

In addition to the answer, marked as a solution
https://getcomposer.org/doc/05-repositories.md#path

{
    "repositories": [
        {
            "type": "path",
            "url": "../../packages/my-package"
        }
    ],
    "require": {
        "my/package": "*"
    }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question