PHPackages                             nqsang90/phalcon-devtools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. nqsang90/phalcon-devtools

ActiveLibrary[Framework](/categories/framework)

nqsang90/phalcon-devtools
=========================

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

v3.4.2(6y ago)07BSD-3-ClausePHPPHP &gt;=5.5 &lt; 7.3.2 || &gt;7.3.3

Since Mar 9Pushed 6y agoCompare

[ Source](https://github.com/nqsang90/phalcon-devtools)[ Packagist](https://packagist.org/packages/nqsang90/phalcon-devtools)[ Docs](https://phalconphp.com)[ RSS](/packages/nqsang90-phalcon-devtools/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (9)Versions (52)Used By (0)

Phalcon Devtools
================

[](#phalcon-devtools)

[![Latest Version](https://camo.githubusercontent.com/d1a31fa41aad5989366cd2d289061acb4dd3ce64fc9712c00d19fc10e88a1b58/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068616c636f6e2f646576746f6f6c732e7376673f7374796c653d666c61742d737175617265)](https://github.com/phalcon/phalcon-devtools)[![Software License](https://camo.githubusercontent.com/cb25e110ebc973650d5506bcb5fc974551fa6dff93d0edcc328acbe538789558/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d2d332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/phalcon/phalcon-devtools/blob/master/LICENSE.txt)[![Total Downloads](https://camo.githubusercontent.com/249f56792a7346d7428cff7ecd7e429224056a27dc0d8b8ec0f24ca850225daf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068616c636f6e2f646576746f6f6c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phalcon/devtools)[![Daily Downloads](https://camo.githubusercontent.com/69a38f05cf688343fc2ed3063a636f91e4982dcc9db4753e80a162ff47eea7b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f7068616c636f6e2f646576746f6f6c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phalcon/devtools)[![Build Status](https://camo.githubusercontent.com/e524a981640a691007f113a8711111e22e0412c10f97baac4d370f74be6e2720/68747470733a2f2f6170692e7472617669732d63692e6f72672f7068616c636f6e2f7068616c636f6e2d646576746f6f6c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phalcon/phalcon-devtools)

[![Phalcon WebTools](https://cloud.githubusercontent.com/assets/1256298/18617851/b7d31558-7de2-11e6-83e0-30e5902af714.png)](https://cloud.githubusercontent.com/assets/1256298/18617851/b7d31558-7de2-11e6-83e0-30e5902af714.png)

What's Phalcon?
---------------

[](#whats-phalcon)

Phalcon PHP is a web framework delivered as a C extension providing high performance and lower resource consumption.

What are Devtools?
------------------

[](#what-are-devtools)

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

Requirements
------------

[](#requirements)

- PHP &gt;= 5.5
- Phalcon &gt;= 3.3.0

Installing via Composer
-----------------------

[](#installing-via-composer)

Install composer in a common location or in your project:

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

Create the composer.json file as follows:

```
{
    "require-dev": {
        "phalcon/devtools": "~3.4"
    }
}
```

If you are still using Phalcon 2.0.x, create a `composer.json` with the following instead:

```
{
    "require-dev": {
        "phalcon/devtools": "^2.0"
    }
}
```

Run the composer installer:

```
php composer.phar install
```

Build `.phar`
-------------

[](#build-phar)

Install composer and box in a common location or in your project:

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

Build phar file `phalcon-devtools`

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

Installation via Git
--------------------

[](#installation-via-git)

Phalcon Devtools can be installed by using Git.

Just clone the repo and checkout the current branch:

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

```
cd phalcon-devtools
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.

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

Usage
-----

[](#usage)

To get a list of available commands just execute following:

```
phalcon commands help
```

This command should display something similar to:

```
$ phalcon --help

Phalcon DevTools (3.4.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
----------------

[](#database-adapter)

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

For PostgreSQL it will be something like:

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

Configuration file
------------------

[](#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:

```
{
  "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 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 file.

License
-------

[](#license)

Phalcon Developer Tools is open source software licensed under the [New BSD License](https://github.com/phalcon/phalcon-devtools/blob/master/LICENSE.txt).
© Phalcon Framework Team and contributors

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 67.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Recently: every ~24 days

Total

49

Last Release

2480d ago

Major Versions

1.2.x-dev → v2.0.12015-05-07

2.1.x-dev → v3.0.02016-07-29

1.3.x-dev → 3.0.x-dev2017-02-24

v3.4.1 → 4.0.x-dev2019-04-26

PHP version history (6 changes)1.0.0.x-devPHP &gt;=5.3.6

v2.0.1PHP &gt;=5.3.9

2.1.x-devPHP &gt;=5.4

v3.0.0PHP &gt;=5.5

4.0.x-devPHP &gt;=7.2

3.4.x-devPHP &gt;=5.5 &lt; 7.3.2 || &gt;7.3.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/29e7db98ede4ecefd7ee8f5f391f5c59c23f87640ed724327d93e8cf62c9cfb2?d=identicon)[nqsang90](/maintainers/nqsang90)

---

Top Contributors

[![sergeyklay](https://avatars.githubusercontent.com/u/1256298?v=4)](https://github.com/sergeyklay "sergeyklay (928 commits)")[![sergeysviridenko](https://avatars.githubusercontent.com/u/26042973?v=4)](https://github.com/sergeysviridenko "sergeysviridenko (79 commits)")[![Jeckerson](https://avatars.githubusercontent.com/u/3289702?v=4)](https://github.com/Jeckerson "Jeckerson (44 commits)")[![dschissler](https://avatars.githubusercontent.com/u/3968727?v=4)](https://github.com/dschissler "dschissler (41 commits)")[![xboston](https://avatars.githubusercontent.com/u/201306?v=4)](https://github.com/xboston "xboston (40 commits)")[![wenchen](https://avatars.githubusercontent.com/u/959457?v=4)](https://github.com/wenchen "wenchen (23 commits)")[![niden](https://avatars.githubusercontent.com/u/1073784?v=4)](https://github.com/niden "niden (21 commits)")[![zinovyev](https://avatars.githubusercontent.com/u/1627048?v=4)](https://github.com/zinovyev "zinovyev (15 commits)")[![richmulhern](https://avatars.githubusercontent.com/u/1664673?v=4)](https://github.com/richmulhern "richmulhern (14 commits)")[![rianorie](https://avatars.githubusercontent.com/u/2292861?v=4)](https://github.com/rianorie "rianorie (13 commits)")[![theDisco](https://avatars.githubusercontent.com/u/199368?v=4)](https://github.com/theDisco "theDisco (12 commits)")[![dreamsxin](https://avatars.githubusercontent.com/u/314295?v=4)](https://github.com/dreamsxin "dreamsxin (12 commits)")[![KoriSeng](https://avatars.githubusercontent.com/u/10483025?v=4)](https://github.com/KoriSeng "KoriSeng (11 commits)")[![sjinks](https://avatars.githubusercontent.com/u/7810770?v=4)](https://github.com/sjinks "sjinks (11 commits)")[![kenjikobe](https://avatars.githubusercontent.com/u/2137523?v=4)](https://github.com/kenjikobe "kenjikobe (10 commits)")[![dacgray](https://avatars.githubusercontent.com/u/12794616?v=4)](https://github.com/dacgray "dacgray (9 commits)")[![gsouf](https://avatars.githubusercontent.com/u/3215399?v=4)](https://github.com/gsouf "gsouf (9 commits)")[![ninjapanzer](https://avatars.githubusercontent.com/u/159591?v=4)](https://github.com/ninjapanzer "ninjapanzer (9 commits)")[![andresgutierrez](https://avatars.githubusercontent.com/u/213590?v=4)](https://github.com/andresgutierrez "andresgutierrez (8 commits)")[![alexbusu](https://avatars.githubusercontent.com/u/4104165?v=4)](https://github.com/alexbusu "alexbusu (7 commits)")

---

Tags

frameworkpharDevtoolsphalconwebtools

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/nqsang90-phalcon-devtools/health.svg)

```
[![Health](https://phpackages.com/badges/nqsang90-phalcon-devtools/health.svg)](https://phpackages.com/packages/nqsang90-phalcon-devtools)
```

###  Alternatives

[phalcon/devtools

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

1.3k2.0M54](/packages/phalcon-devtools)[phalcon/incubator

Adapters, prototypes or functionality that can be potentially incorporated to the C-framework.

7222.9M81](/packages/phalcon-incubator)[phalcon/migrations

Run and Generate DB Migrations with Phalcon Framework

29977.8k6](/packages/phalcon-migrations)[pestphp/pest-plugin-drift

The Pest Drift Plugin

734.0M74](/packages/pestphp-pest-plugin-drift)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)[phalcon/incubator-mailer

Phalcon Incubator Mailer Adapters

1318.1k2](/packages/phalcon-incubator-mailer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
