PHP7 Symfony4 Phpdocumentor












0















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?










share|improve this question























  • 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













  • @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


















0















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?










share|improve this question























  • 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













  • @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
















0












0








0








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 22 '18 at 8:43









WikSWikS

6310




6310













  • 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













  • @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





















  • 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













  • @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



















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














1 Answer
1






active

oldest

votes


















1














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.






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    1














    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.






    share|improve this answer




























      1














      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.






      share|improve this answer


























        1












        1








        1







        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.






        share|improve this answer













        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 10 '18 at 22:20









        ashnazgashnazg

        5,56222335




        5,56222335
































            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            這個網誌中的熱門文章

            Tangent Lines Diagram Along Smooth Curve

            Yusuf al-Mu'taman ibn Hud

            Zucchini