Download the PHP package phalcon/devtools without Composer
On this page you can find all versions of the php package phalcon/devtools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package devtools
Phalcon Devtools
What's Phalcon?
Phalcon PHP is a web framework delivered as a C extension providing high performance and lower resource consumption.
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
- PHP >= 7.2
- Phalcon >= 4.0.0
Installing via Composer
Install composer in a common location or in your project:
Create the composer.json file as follows:
If you are still using Phalcon 3.4.x, create a composer.json
with the following instead:
Run the composer installer:
Build .phar
Install composer and box in a common location or in your project:
Build phar file phalcon-devtools
Installation via Git
Phalcon Devtools can be installed by using Git.
Just clone the repo and checkout the current branch:
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.
If you get a "phalcon: command not found"
message while creating the symlink, make an alias.
Usage
To get a list of available commands just execute following:
This command should display something similar to:
Database adapter
Should add adapter
parameter in your db
config file (if you use not MySQL database).
For PostgreSQL it will be something like:
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:
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.
License
Phalcon Developer Tools is open source software licensed under the New BSD License.
© Phalcon Framework Team and contributors
All versions of devtools with dependencies
ext-pdo Version *
ext-phalcon Version >4.0
psy/psysh Version ~0.9
nikic/php-parser Version ^4.2.4
phalcon/migrations Version ^2.0
vlucas/phpdotenv Version ^3.6|^4.0|^5.0