2017 © Pedro Peláez
 

library devtools

This tools provide you useful scripts to generate code helping to develop faster and easy applications that use with Phalcon framework.

image

x51xxx/devtools

This tools provide you useful scripts to generate code helping to develop faster and easy applications that use with Phalcon framework.

  • Thursday, August 22, 2013
  • by x51xxx
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 594 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Phalcon Devtools

Webtools, (*1)

What's Phalcon?

Phalcon PHP is a web framework delivered as a C extension providing high performance and lower resource consumption., (*2)

What are Devtools?

This tools provide you useful scripts to generate code helping to develop faster and easy applications that use with Phalcon framework., (*3)

Requirements

  • PHP >= 5.3.9
  • Phalcon >= 0.7.0

Installing via Composer

Install composer in a common location or in your project:, (*4)

curl -s http://getcomposer.org/installer | php

Create the composer.json file as follows:, (*5)

{
    "require": {
        "x51xxx/devtools": "dev-master"
    }
}

Run the composer installer:, (*6)

php composer.phar install

Create a symbolink link to the phalcon.php script:, (*7)

ln -s ~/devtools/phalcon.php /usr/bin/phalcon
chmod ugo+x /usr/bin/phalcon

Installation via PEAR

Phalcon Devtools can be installed using PEAR. Since the current version of Devtools is in beta state, you might need to update your PEAR config. You can execute following to check your current state:, (*8)

pear config-show | grep preferred_state | awk '{split($0, s, " "); print s[5]}'

If it prints "stable" you need to set the preferred_state to beta:, (*9)

pear config-set preferred_state beta

After that just discover the channel and install the package:, (*10)

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

Alternatively you can just clone the repo and checkout the current branch, (*11)

cd ~
git clone https://github.com/phalcon/phalcon-devtools.git
cd phalcon-devtools

This method requires a little bit more of setup. Probably the best way would be to symlink the phalcon.php to a directory in your PATH, so you can issue phalcon commands in each directory where a phalcon project resides., (*12)

ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon
chmod ugo+x /usr/bin/phalcon

Usage

To get a list of available commands just execute following:, (*13)

$ phalcon commands

This command should display something similar to:, (*14)

Phalcon DevTools (1.0.0)

Help:
  Lists the commands availables in Phalcon devtools

Available commands:
  commands (alias of: list, enumerate)
  controller (alias of: create-controller)
  model (alias of: create-model)
  all-models (alias of: create-all-models)
  project (alias of: create-project)
  migration
  scaffold
  webtools

The Versions

22/08 2013

dev-master

9999999-dev http://phalconphp.com

This tools provide you useful scripts to generate code helping to develop faster and easy applications that use with Phalcon framework.

  Sources   Download

BSD-3

The Requires

  • php >=5.3.6

 

framework phalcon

09/03 2013

1.0.0.x-dev

1.0.0.9999999-dev http://phalconphp.com

This tools provide you useful scripts to generate code helping to develop faster and easy applications that use with Phalcon framework.

  Sources   Download

BSD-3

The Requires

  • php >=5.3.6

 

framework phalcon