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

phalcon/devtools

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

  • Wednesday, June 6, 2018
  • by phalcon
  • Repository
  • 142 Watchers
  • 1071 Stars
  • 536,384 Installations
  • PHP
  • 70 Dependents
  • 3 Suggesters
  • 592 Forks
  • 34 Open issues
  • 48 Versions
  • 6 % Grown

The README.md

Phalcon Devtools

codecov Latest Version Software License Total Downloads Daily Downloads Build Status, (*1)

Phalcon WebTools, (*2)

What's Phalcon?

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

What are Devtools?

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

Requirements

  • PHP >= 7.2
  • Phalcon >= 4.0.0

Installing via Composer

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

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

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

{
    "require-dev": {
        "phalcon/devtools": "~4.1"
    }
}

If you are still using Phalcon 3.4.x, create a composer.json with the following instead:, (*7)

{
    "require-dev": {
        "phalcon/devtools": "^3.4"
    }
}

Run the composer installer:, (*8)

php composer.phar install

Build .phar

Install composer and box in a common location or in your project:, (*9)

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

Build phar file phalcon-devtools, (*10)

bin/box build -v
chmod +xr ./phalcon.phar
# Test it!
php ./phalcon.phar

Installation via Git

Phalcon Devtools can be installed by using Git., (*11)

Just clone the repo and checkout the current branch:, (*12)

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 file to a directory in your PATH, so you can issue phalcon commands in each directory where a phalcon project resides., (*13)

cd phalcon-devtools
composer install
ln -s $(pwd)/phalcon /usr/bin/phalcon
chmod ugo+x /usr/bin/phalcon

If you get a "phalcon: command not found" message while creating the symlink, make an alias., (*14)

alias phalcon=/home/[USERNAME]/phalcon-devtools/phalcon

Usage

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

phalcon commands help

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

$ phalcon --help

Phalcon DevTools (4.1.0)

Help:
  Lists the commands available in Phalcon DevTools

Available commands:
  info             (alias of: i)
  commands         (alias of: list, enumerate)
  controller       (alias of: create-controller)
  module           (alias of: create-module)
  model            (alias of: create-model)
  all-models       (alias of: create-all-models)
  project          (alias of: create-project)
  scaffold         (alias of: create-scaffold)
  migration        (alias of: create-migration)
  webtools         (alias of: create-webtools)
  serve            (alias of: server)
  console          (alias of: shell, psysh)

Database adapter

Should add adapter parameter in your db config file (if you use not MySQL database)., (*17)

For PostgreSQL it will be something like:, (*18)

$config = [
  'host'     => 'localhost',
  'dbname'   => 'my_db_name',
  'username' => 'my_db_user',
  'password' => 'my_db_user_password',
  'adapter'  => 'Postgresql'
];

Configuration file

By creating config.json or any other configuration file called config in root project you can set options for all possible commands, for example:, (*19)

{
  "migration" : {
    "migrations": "App/Migrations",
    "config": "App/Config/db.ini"
  },
  "controller" : {
    "namespace": "Phalcon\\Test",
    "directory": "App/Controllers",
    "base-class": "App\\MyAbstractController"
  }
}

And then you can use phalcon migration run or phalcon controller SomeClass and those commands will be executed with options from file. Arguments provided by developer from command line will overwrite existing one in a file., (*20)

License

Phalcon Developer Tools is open source software licensed under the New BSD License.
© Phalcon Framework Team and contributors, (*21)

The Versions

06/06 2018

dev-master

9999999-dev https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

06/06 2018

v3.4.0

3.4.0.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

05/06 2018

3.4.x-dev

3.4.9999999.9999999-dev https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

07/05 2018

v3.2.13

3.2.13.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

07/05 2018

3.2.x-dev

3.2.9999999.9999999-dev https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

05/05 2018

3.3.x-dev

3.3.9999999.9999999-dev https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

27/03 2018

4.0.x-dev

4.0.9999999.9999999-dev https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

05/01 2018

v3.2.12

3.2.12.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

09/11 2017

v3.2.11

3.2.11.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

03/11 2017

v3.2.10

3.2.10.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

25/10 2017

v3.2.9

3.2.9.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

20/10 2017

v3.2.8

3.2.8.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

13/10 2017

v3.2.7

3.2.7.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

09/10 2017

v3.2.6

3.2.6.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

11/09 2017

v3.2.5

3.2.5.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

01/09 2017

v3.2.4

3.2.4.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

24/08 2017

v3.2.3

3.2.3.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

07/08 2017

v3.2.2

3.2.2.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

28/07 2017

v3.2.1

3.2.1.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

19/06 2017

v3.2.0

3.2.0.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

11/04 2017

dev-refactor

dev-refactor https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

06/04 2017

v3.1.2

3.1.2.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

05/04 2017

3.1.x-dev

3.1.9999999.9999999-dev https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

02/04 2017

v3.1.1

3.1.1.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

23/03 2017

v3.1.0

3.1.0.0 https://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-Clause

The Requires

 

The Development Requires

framework phar phalcon devtools webtools

24/02 2017

3.0.x-dev

3.0.9999999.9999999-dev https://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-Clause

The Requires

  • php >=5.5
  • ext-phalcon ^3.0

 

The Development Requires

framework phar phalcon devtools webtools

24/02 2017

v3.0.5

3.0.5.0 https://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-Clause

The Requires

  • php >=5.5
  • ext-phalcon ^3.0

 

The Development Requires

framework phar phalcon devtools webtools

22/02 2017

1.3.x-dev

1.3.9999999.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

24/12 2016

v3.0.4

3.0.4.0 https://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-Clause

The Requires

  • php >=5.5
  • ext-phalcon ^3.0

 

The Development Requires

framework phar phalcon devtools webtools

02/12 2016

v3.0.3

3.0.3.0 https://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-Clause

The Requires

  • php >=5.5
  • ext-phalcon ^3.0

 

The Development Requires

framework phar phalcon devtools webtools

27/11 2016

v3.0.2

3.0.2.0 https://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-Clause

The Requires

  • php >=5.5
  • ext-phalcon ^3.0

 

The Development Requires

framework phar phalcon devtools webtools

24/08 2016

v3.0.1

3.0.1.0 https://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-Clause

The Requires

  • php >=5.5
  • ext-phalcon ^3.0

 

The Development Requires

framework phar phalcon devtools webtools

29/07 2016

v3.0.0

3.0.0.0 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-Clause

The Requires

  • php >=5.5
  • ext-phalcon ^3.0

 

The Development Requires

framework phar phalcon devtools webtools

24/07 2016

2.1.x-dev

2.1.9999999.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-Clause

The Requires

  • php >=5.4
  • ext-phalcon ^2.1

 

The Development Requires

framework phar phalcon devtools webtools

29/06 2016

2.0.x-dev

2.0.9999999.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-Clause

The Requires

  • php >=5.3.9
  • ext-phalcon ^2.0

 

The Development Requires

framework phar phalcon devtools webtools

21/05 2016

v2.0.13

2.0.13.0 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-Clause

The Requires

  • php >=5.3.9
  • ext-phalcon ^2.0

 

The Development Requires

framework phar phalcon devtools webtools

17/05 2016

v2.0.12

2.0.12.0 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-Clause

The Requires

  • php >=5.3.9
  • ext-phalcon ^2.0

 

The Development Requires

framework phar phalcon devtools webtools

04/05 2016

v2.0.11

2.0.11.0 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-Clause

The Requires

  • php >=5.3.9
  • ext-phalcon ^2.0

 

The Development Requires

framework phar phalcon devtools webtools

05/02 2016

v2.0.10

2.0.10.0 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-Clause

The Requires

  • php >=5.3.9
  • ext-phalcon ~2.0

 

The Development Requires

framework phar phalcon devtools webtools

25/11 2015

v2.0.9

2.0.9.0 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-Clause

The Requires

  • php >=5.3.9
  • ext-phalcon ~2.0

 

The Development Requires

framework phar phalcon devtools webtools

25/09 2015

v2.0.8

2.0.8.0 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-Clause

The Requires

  • php >=5.3.9
  • ext-phalcon ~2.0

 

The Development Requires

framework phar phalcon devtools webtools

18/08 2015

v2.0.7

2.0.7.0 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-Clause

The Requires

  • php >=5.3.9
  • ext-phalcon ~2.0

 

The Development Requires

framework phar phalcon devtools webtools

27/07 2015

v2.0.6

2.0.6.0 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-Clause

The Requires

  • php >=5.3.9
  • ext-phalcon ~2.0

 

The Development Requires

  • box >=2.5.2

framework phar phalcon devtools webtools

26/05 2015

v2.0.2

2.0.2.0 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.9
  • ext-phalcon ~2.0

 

framework phalcon devtools webtools

07/05 2015

v2.0.1

2.0.1.0 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.9

 

framework phalcon

19/03 2014

1.2.x-dev

1.2.9999999.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

30/11 2013

dev-plugin-based

dev-plugin-based 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