How to install phalcon devtools

For version 0.5.0 for Phalcon, how can I install phalcon-devtools so that I can use them through the shell?

+5
source share
1 answer

Although Phalcon-Devtools for 0.5.0 is still in alpha stage at the time of this writing, they are stable enough to be used in development environments.

Phalcon Devtools are now offered through the PEAR channel.

Instructions (also available at http://pear.phalconphp.com )

Channel Registration

pear channel-discover pear.phalconphp.com

List of available packages

pear remote-list -c phalcon

Package installation

pear install phalcon/package_name

Install specific version / stability

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

You can also receive updates using the feed channel.

Starting from 2012-09-09 team:

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

If all goes well, do:

phalcon commands

and you will see:

Phalcon DevTools (0.5.0a4)

Available commands:
  commands
  controller
  model
  project
  scaffold
+4
source

All Articles