How to install Doctrine in Linux (Ubuntu) through Terminal





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















Can any one explain the step by step procedure of installing Doctrine in Linux through terminal?










share|improve this question













migrated from stackoverflow.com Mar 10 '13 at 21:34


This question came from our site for professional and enthusiast programmers.



















  • Do you want to have Doctrine in your global PHP include path or just inside of an project? Information please!

    – Hikaru-Shindo
    Mar 8 '13 at 11:16











  • @Hikaru-Shindo , I want to have in my zend framework application , which is named square

    – user2147269
    Mar 8 '13 at 11:29


















0















Can any one explain the step by step procedure of installing Doctrine in Linux through terminal?










share|improve this question













migrated from stackoverflow.com Mar 10 '13 at 21:34


This question came from our site for professional and enthusiast programmers.



















  • Do you want to have Doctrine in your global PHP include path or just inside of an project? Information please!

    – Hikaru-Shindo
    Mar 8 '13 at 11:16











  • @Hikaru-Shindo , I want to have in my zend framework application , which is named square

    – user2147269
    Mar 8 '13 at 11:29














0












0








0








Can any one explain the step by step procedure of installing Doctrine in Linux through terminal?










share|improve this question














Can any one explain the step by step procedure of installing Doctrine in Linux through terminal?







php






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 '13 at 11:14







user2147269











migrated from stackoverflow.com Mar 10 '13 at 21:34


This question came from our site for professional and enthusiast programmers.









migrated from stackoverflow.com Mar 10 '13 at 21:34


This question came from our site for professional and enthusiast programmers.















  • Do you want to have Doctrine in your global PHP include path or just inside of an project? Information please!

    – Hikaru-Shindo
    Mar 8 '13 at 11:16











  • @Hikaru-Shindo , I want to have in my zend framework application , which is named square

    – user2147269
    Mar 8 '13 at 11:29



















  • Do you want to have Doctrine in your global PHP include path or just inside of an project? Information please!

    – Hikaru-Shindo
    Mar 8 '13 at 11:16











  • @Hikaru-Shindo , I want to have in my zend framework application , which is named square

    – user2147269
    Mar 8 '13 at 11:29

















Do you want to have Doctrine in your global PHP include path or just inside of an project? Information please!

– Hikaru-Shindo
Mar 8 '13 at 11:16





Do you want to have Doctrine in your global PHP include path or just inside of an project? Information please!

– Hikaru-Shindo
Mar 8 '13 at 11:16













@Hikaru-Shindo , I want to have in my zend framework application , which is named square

– user2147269
Mar 8 '13 at 11:29





@Hikaru-Shindo , I want to have in my zend framework application , which is named square

– user2147269
Mar 8 '13 at 11:29










2 Answers
2






active

oldest

votes


















0














You can add doctrine to composer.json in your project directory



under require add "doctrine/common": "2.x"



"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.*",
"doctrine/common": "2.x"
}


Then in your project directory run php composer.phar update






share|improve this answer
























  • i also found a better way :) aka step by step version of the installment

    – Ponsjuh
    Mar 8 '13 at 11:33











  • samminds.com/2012/07/install-doctrine-2-for-zend-framework-2

    – Ponsjuh
    Mar 8 '13 at 11:34











  • According to the tags he is using ZF1

    – Hikaru-Shindo
    Mar 8 '13 at 12:16











  • @Ponsjuh , I cannot locate the composer.json in my directory

    – user2147269
    Mar 8 '13 at 12:23











  • in case of zf1 use this spiffyjr.me/2010/11/17/…

    – Ponsjuh
    Mar 8 '13 at 12:40



















0














If you want to integrate Doctrine 2 in a ZF1 project you may use the Bisna Doctrine2 enabled ZF1 skeleton project from Github



Since you are trying to integrate Doctrine 2 your project does not seem to be really far into development so it should be easy to integrate.
The readme file explains the steps needed to be done quiet well.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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%2fsuperuser.com%2fquestions%2f563825%2fhow-to-install-doctrine-in-linux-ubuntu-through-terminal%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown
























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You can add doctrine to composer.json in your project directory



    under require add "doctrine/common": "2.x"



    "require": {
    "php": ">=5.3.3",
    "zendframework/zendframework": "2.*",
    "doctrine/common": "2.x"
    }


    Then in your project directory run php composer.phar update






    share|improve this answer
























    • i also found a better way :) aka step by step version of the installment

      – Ponsjuh
      Mar 8 '13 at 11:33











    • samminds.com/2012/07/install-doctrine-2-for-zend-framework-2

      – Ponsjuh
      Mar 8 '13 at 11:34











    • According to the tags he is using ZF1

      – Hikaru-Shindo
      Mar 8 '13 at 12:16











    • @Ponsjuh , I cannot locate the composer.json in my directory

      – user2147269
      Mar 8 '13 at 12:23











    • in case of zf1 use this spiffyjr.me/2010/11/17/…

      – Ponsjuh
      Mar 8 '13 at 12:40
















    0














    You can add doctrine to composer.json in your project directory



    under require add "doctrine/common": "2.x"



    "require": {
    "php": ">=5.3.3",
    "zendframework/zendframework": "2.*",
    "doctrine/common": "2.x"
    }


    Then in your project directory run php composer.phar update






    share|improve this answer
























    • i also found a better way :) aka step by step version of the installment

      – Ponsjuh
      Mar 8 '13 at 11:33











    • samminds.com/2012/07/install-doctrine-2-for-zend-framework-2

      – Ponsjuh
      Mar 8 '13 at 11:34











    • According to the tags he is using ZF1

      – Hikaru-Shindo
      Mar 8 '13 at 12:16











    • @Ponsjuh , I cannot locate the composer.json in my directory

      – user2147269
      Mar 8 '13 at 12:23











    • in case of zf1 use this spiffyjr.me/2010/11/17/…

      – Ponsjuh
      Mar 8 '13 at 12:40














    0












    0








    0







    You can add doctrine to composer.json in your project directory



    under require add "doctrine/common": "2.x"



    "require": {
    "php": ">=5.3.3",
    "zendframework/zendframework": "2.*",
    "doctrine/common": "2.x"
    }


    Then in your project directory run php composer.phar update






    share|improve this answer













    You can add doctrine to composer.json in your project directory



    under require add "doctrine/common": "2.x"



    "require": {
    "php": ">=5.3.3",
    "zendframework/zendframework": "2.*",
    "doctrine/common": "2.x"
    }


    Then in your project directory run php composer.phar update







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Mar 8 '13 at 11:30







    Ponsjuh




















    • i also found a better way :) aka step by step version of the installment

      – Ponsjuh
      Mar 8 '13 at 11:33











    • samminds.com/2012/07/install-doctrine-2-for-zend-framework-2

      – Ponsjuh
      Mar 8 '13 at 11:34











    • According to the tags he is using ZF1

      – Hikaru-Shindo
      Mar 8 '13 at 12:16











    • @Ponsjuh , I cannot locate the composer.json in my directory

      – user2147269
      Mar 8 '13 at 12:23











    • in case of zf1 use this spiffyjr.me/2010/11/17/…

      – Ponsjuh
      Mar 8 '13 at 12:40



















    • i also found a better way :) aka step by step version of the installment

      – Ponsjuh
      Mar 8 '13 at 11:33











    • samminds.com/2012/07/install-doctrine-2-for-zend-framework-2

      – Ponsjuh
      Mar 8 '13 at 11:34











    • According to the tags he is using ZF1

      – Hikaru-Shindo
      Mar 8 '13 at 12:16











    • @Ponsjuh , I cannot locate the composer.json in my directory

      – user2147269
      Mar 8 '13 at 12:23











    • in case of zf1 use this spiffyjr.me/2010/11/17/…

      – Ponsjuh
      Mar 8 '13 at 12:40

















    i also found a better way :) aka step by step version of the installment

    – Ponsjuh
    Mar 8 '13 at 11:33





    i also found a better way :) aka step by step version of the installment

    – Ponsjuh
    Mar 8 '13 at 11:33













    samminds.com/2012/07/install-doctrine-2-for-zend-framework-2

    – Ponsjuh
    Mar 8 '13 at 11:34





    samminds.com/2012/07/install-doctrine-2-for-zend-framework-2

    – Ponsjuh
    Mar 8 '13 at 11:34













    According to the tags he is using ZF1

    – Hikaru-Shindo
    Mar 8 '13 at 12:16





    According to the tags he is using ZF1

    – Hikaru-Shindo
    Mar 8 '13 at 12:16













    @Ponsjuh , I cannot locate the composer.json in my directory

    – user2147269
    Mar 8 '13 at 12:23





    @Ponsjuh , I cannot locate the composer.json in my directory

    – user2147269
    Mar 8 '13 at 12:23













    in case of zf1 use this spiffyjr.me/2010/11/17/…

    – Ponsjuh
    Mar 8 '13 at 12:40





    in case of zf1 use this spiffyjr.me/2010/11/17/…

    – Ponsjuh
    Mar 8 '13 at 12:40













    0














    If you want to integrate Doctrine 2 in a ZF1 project you may use the Bisna Doctrine2 enabled ZF1 skeleton project from Github



    Since you are trying to integrate Doctrine 2 your project does not seem to be really far into development so it should be easy to integrate.
    The readme file explains the steps needed to be done quiet well.






    share|improve this answer




























      0














      If you want to integrate Doctrine 2 in a ZF1 project you may use the Bisna Doctrine2 enabled ZF1 skeleton project from Github



      Since you are trying to integrate Doctrine 2 your project does not seem to be really far into development so it should be easy to integrate.
      The readme file explains the steps needed to be done quiet well.






      share|improve this answer


























        0












        0








        0







        If you want to integrate Doctrine 2 in a ZF1 project you may use the Bisna Doctrine2 enabled ZF1 skeleton project from Github



        Since you are trying to integrate Doctrine 2 your project does not seem to be really far into development so it should be easy to integrate.
        The readme file explains the steps needed to be done quiet well.






        share|improve this answer













        If you want to integrate Doctrine 2 in a ZF1 project you may use the Bisna Doctrine2 enabled ZF1 skeleton project from Github



        Since you are trying to integrate Doctrine 2 your project does not seem to be really far into development so it should be easy to integrate.
        The readme file explains the steps needed to be done quiet well.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 8 '13 at 16:39







        Hikaru-Shindo





































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f563825%2fhow-to-install-doctrine-in-linux-ubuntu-through-terminal%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







            Popular posts from this blog

            Список кардиналов, возведённых папой римским Каликстом III

            Deduzione

            Mysql.sock missing - “Can't connect to local MySQL server through socket”