Answer the question
In order to leave comments, you need to log in
What is the correct way to describe dependencies?
I use Slim + Slim/Extras + Twig in the project.
The error Strict Standard takes off. I found a solution to the problem in the list of pull requests, but at the moment the pull request has not been accepted. https://github.com/codeguy/Slim-Extras/pull/87
What is the right way to make Composer install the code corrected in this pull request using the install command? Is it even possible? If not, how to be?
So far, in order not to slow down development, I have corrected the code in the vendor folder, but this is absolutely the wrong approach.
Answer the question
In order to leave comments, you need to log in
In this case, I fork the package in which I need to make changes, make the necessary changes in the new branch, and add an additional repository to composer.json. Looks like this
{
"require": {
"original-vendor/original-package-name": "dev-my-branch-name"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/my-nickname/my-fork-url.git"
}
]
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question