简体   繁体   English

我该如何安装Phalcon Devtools

[英]How can I install the Phalcon Devtools

对于Phalcon的0.5.0版本,如何安装phalcon-devtools以便我可以通过命令shell使用它们?

Although at the time of this writing Phalcon-Devtools for 0.5.0 is still in alpha stage, they are stable enough to be used in development environments. 尽管在撰写本文时,Phalcon-Devtools的0.5.0仍处于alpha阶段,但它们足够稳定,可用于开发环境。

Phalcon Devtools are now offered via a PEAR channel. Phalcon Devtools现在通过PEAR渠道提供。

Instructions (also available in http://pear.phalconphp.com ) 说明(也可在http://pear.phalconphp.com获取

Registering the channel 注册频道

pear channel-discover pear.phalconphp.com

Listing available packages 列出可用的包

pear remote-list -c phalcon

Installing a package 安装包

pear install phalcon/package_name

Installing a specific version/stability 安装特定版本/稳定性

pear install phalcon/package_name-1.0.0
pear install phalcon/package_name-beta

You can also receive updates using the channel's feed 您还可以使用频道的Feed接收更新

As of 2012-09-09 the commands are: 截至2012-09-09,命令是:

pear channel-discover pear.phalconphp.com
pear install phalcon/Devtools-0.5.0

If everything went well, issue: 如果一切顺利,请发出:

phalcon commands

and you will see: 你会看到:

Phalcon DevTools (0.5.0a4)

Available commands:
  commands
  controller
  model
  project
  scaffold

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM