mirror of
https://github.com/yswery/PHP-DNS-SERVER.git
synced 2026-04-26 01:35:57 +03:00
[GH-ISSUE #76] Issues installing with composer require #27
Labels
No labels
bug
enhancement
enhancement
hacktoberfest
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PHP-DNS-SERVER#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nkakouros on GitHub (Nov 13, 2018).
Original GitHub issue: https://github.com/yswery/PHP-DNS-SERVER/issues/76
It is quite probable that this is due to my incompetence with composer and apologies in advance if it is the case.
I tried installing this project with composer using:
The output is:
Then, I tried to run the example script that comes with the project (I edited the autoload.php path), using:
This fails with:
I then deleted everything and git-cloned this repo, and run from inside the project folder
composer install. That installed a whole lot more packages andexample.phpsucceeded.Am I doing sth wrong?
@samuelwilliams commented on GitHub (Nov 13, 2018):
It seems to be a quirk with how Composer resolves dependencies.
psr/logwas not explicitly required bycomposer.jsonbut came along withsymfony/event-dispatcheras a dependency of a dependency. This does not seem to be a problem if you are cloning the repo, only if you are installing using composer. This next push will fix it.@samuelwilliams commented on GitHub (Nov 13, 2018):
@tterranigma - Thanks for the issue, this has been fixed in v1.0.1
@nkakouros commented on GitHub (Nov 13, 2018):
Alright! Is there a delay for it to appear on packagist?