PHP7 Symfony4 Phpdocumentor
Is there posible to use PhpDocumentor under above/titled?
When I trying instal it with composer it shows me:
$ composer require --dev phpdocumentor/phpdocumentor dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.1.*"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for phpdocumentor/phpdocumentor dev-master -> satisfiable by phpdocumentor/phpdocumentor[dev-master].
- phpdocumentor/phpdocumentor dev-master requires symfony/config ~2.3 -> no matching package found.
So how to do it or how to document code?
symfony4 phpdoc
add a comment |
Is there posible to use PhpDocumentor under above/titled?
When I trying instal it with composer it shows me:
$ composer require --dev phpdocumentor/phpdocumentor dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.1.*"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for phpdocumentor/phpdocumentor dev-master -> satisfiable by phpdocumentor/phpdocumentor[dev-master].
- phpdocumentor/phpdocumentor dev-master requires symfony/config ~2.3 -> no matching package found.
So how to do it or how to document code?
symfony4 phpdoc
Try to removedev-master
fromcomposer require
command. Composer will match newest compatible stable version of phpdocumentator for your project.
– Jakub Matczak
Nov 22 '18 at 8:56
You can also try to installdev-develop
instead ofdev-master
. It looks likedev-master
version is not the latest up to date dev branch.
– Jakub Matczak
Nov 22 '18 at 9:00
@Jakub Matczak unfortunatelly none of above works for me...
– WikS
Nov 22 '18 at 9:05
Did you try installing symfony/config first withcomposer require symfony/config
?
– Dirk J. Faber
Nov 22 '18 at 22:58
@Dirk, I have installed Symfony4 but rather with way described on Symfony`s page: symfony.com/doc/current/setup.html -with: composer create-project symfony/website-skeleton my-project
– WikS
Nov 23 '18 at 21:02
add a comment |
Is there posible to use PhpDocumentor under above/titled?
When I trying instal it with composer it shows me:
$ composer require --dev phpdocumentor/phpdocumentor dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.1.*"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for phpdocumentor/phpdocumentor dev-master -> satisfiable by phpdocumentor/phpdocumentor[dev-master].
- phpdocumentor/phpdocumentor dev-master requires symfony/config ~2.3 -> no matching package found.
So how to do it or how to document code?
symfony4 phpdoc
Is there posible to use PhpDocumentor under above/titled?
When I trying instal it with composer it shows me:
$ composer require --dev phpdocumentor/phpdocumentor dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.1.*"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for phpdocumentor/phpdocumentor dev-master -> satisfiable by phpdocumentor/phpdocumentor[dev-master].
- phpdocumentor/phpdocumentor dev-master requires symfony/config ~2.3 -> no matching package found.
So how to do it or how to document code?
symfony4 phpdoc
symfony4 phpdoc
asked Nov 22 '18 at 8:43
WikSWikS
6310
6310
Try to removedev-master
fromcomposer require
command. Composer will match newest compatible stable version of phpdocumentator for your project.
– Jakub Matczak
Nov 22 '18 at 8:56
You can also try to installdev-develop
instead ofdev-master
. It looks likedev-master
version is not the latest up to date dev branch.
– Jakub Matczak
Nov 22 '18 at 9:00
@Jakub Matczak unfortunatelly none of above works for me...
– WikS
Nov 22 '18 at 9:05
Did you try installing symfony/config first withcomposer require symfony/config
?
– Dirk J. Faber
Nov 22 '18 at 22:58
@Dirk, I have installed Symfony4 but rather with way described on Symfony`s page: symfony.com/doc/current/setup.html -with: composer create-project symfony/website-skeleton my-project
– WikS
Nov 23 '18 at 21:02
add a comment |
Try to removedev-master
fromcomposer require
command. Composer will match newest compatible stable version of phpdocumentator for your project.
– Jakub Matczak
Nov 22 '18 at 8:56
You can also try to installdev-develop
instead ofdev-master
. It looks likedev-master
version is not the latest up to date dev branch.
– Jakub Matczak
Nov 22 '18 at 9:00
@Jakub Matczak unfortunatelly none of above works for me...
– WikS
Nov 22 '18 at 9:05
Did you try installing symfony/config first withcomposer require symfony/config
?
– Dirk J. Faber
Nov 22 '18 at 22:58
@Dirk, I have installed Symfony4 but rather with way described on Symfony`s page: symfony.com/doc/current/setup.html -with: composer create-project symfony/website-skeleton my-project
– WikS
Nov 23 '18 at 21:02
Try to remove
dev-master
from composer require
command. Composer will match newest compatible stable version of phpdocumentator for your project.– Jakub Matczak
Nov 22 '18 at 8:56
Try to remove
dev-master
from composer require
command. Composer will match newest compatible stable version of phpdocumentator for your project.– Jakub Matczak
Nov 22 '18 at 8:56
You can also try to install
dev-develop
instead of dev-master
. It looks like dev-master
version is not the latest up to date dev branch.– Jakub Matczak
Nov 22 '18 at 9:00
You can also try to install
dev-develop
instead of dev-master
. It looks like dev-master
version is not the latest up to date dev branch.– Jakub Matczak
Nov 22 '18 at 9:00
@Jakub Matczak unfortunatelly none of above works for me...
– WikS
Nov 22 '18 at 9:05
@Jakub Matczak unfortunatelly none of above works for me...
– WikS
Nov 22 '18 at 9:05
Did you try installing symfony/config first with
composer require symfony/config
?– Dirk J. Faber
Nov 22 '18 at 22:58
Did you try installing symfony/config first with
composer require symfony/config
?– Dirk J. Faber
Nov 22 '18 at 22:58
@Dirk, I have installed Symfony4 but rather with way described on Symfony`s page: symfony.com/doc/current/setup.html -with: composer create-project symfony/website-skeleton my-project
– WikS
Nov 23 '18 at 21:02
@Dirk, I have installed Symfony4 but rather with way described on Symfony`s page: symfony.com/doc/current/setup.html -with: composer create-project symfony/website-skeleton my-project
– WikS
Nov 23 '18 at 21:02
add a comment |
1 Answer
1
active
oldest
votes
Due to incompatible internal requirements of phpDocumentor, Composer cannot install both it and newer Symfony versions. As such, the phpDocumentor team recommends using their PHAR rather than using it from a Composer-managed installation.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53426918%2fphp7-symfony4-phpdocumentor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Due to incompatible internal requirements of phpDocumentor, Composer cannot install both it and newer Symfony versions. As such, the phpDocumentor team recommends using their PHAR rather than using it from a Composer-managed installation.
add a comment |
Due to incompatible internal requirements of phpDocumentor, Composer cannot install both it and newer Symfony versions. As such, the phpDocumentor team recommends using their PHAR rather than using it from a Composer-managed installation.
add a comment |
Due to incompatible internal requirements of phpDocumentor, Composer cannot install both it and newer Symfony versions. As such, the phpDocumentor team recommends using their PHAR rather than using it from a Composer-managed installation.
Due to incompatible internal requirements of phpDocumentor, Composer cannot install both it and newer Symfony versions. As such, the phpDocumentor team recommends using their PHAR rather than using it from a Composer-managed installation.
answered Dec 10 '18 at 22:20
ashnazgashnazg
5,56222335
5,56222335
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53426918%2fphp7-symfony4-phpdocumentor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try to remove
dev-master
fromcomposer require
command. Composer will match newest compatible stable version of phpdocumentator for your project.– Jakub Matczak
Nov 22 '18 at 8:56
You can also try to install
dev-develop
instead ofdev-master
. It looks likedev-master
version is not the latest up to date dev branch.– Jakub Matczak
Nov 22 '18 at 9:00
@Jakub Matczak unfortunatelly none of above works for me...
– WikS
Nov 22 '18 at 9:05
Did you try installing symfony/config first with
composer require symfony/config
?– Dirk J. Faber
Nov 22 '18 at 22:58
@Dirk, I have installed Symfony4 but rather with way described on Symfony`s page: symfony.com/doc/current/setup.html -with: composer create-project symfony/website-skeleton my-project
– WikS
Nov 23 '18 at 21:02