run command with laragon


  • | 63 points

    hi, good job with laragon is very user friendly,
    I use phalcon framework with phalcon devtool, but when are create projet, I use command, "phalcon projet nameprojet", well how to run command when you create new site with laragon ?
    thank for help me !!


  • administrators
    | 64704 points

    @tchekjunior :
    Suppose you install Phalcon DevTool on C:\laragon\www\phalcon using composer
    You can call the command like this:

    php "c:\larago\www\phalcon\vendor\phalcon\devtools\phalcon.php" project myproj
    

    So long ha, but you can use alias for this:

    alias phalcon=php "c:\laragon\www\phalcon\vendor\phalcon\devtools\phalcon.php" $*  
    

    Now you can use phalcon everywhere. That's all :)


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.