Requirements
- PHP
^8.2, with thetokenizerextension (ext-tokenizer; PHP turns it on by default) - Phalcon v5, the
ext-phalconC extension (^5.24.1), or Phalcon v6, thephalcon/phalconPHP implementation (^6). Crest itself needs neither of them to run - On Windows, Crest runs with PHP for Windows: its CI runs the unit tests and the hand-off there (see The global Crest and the project Crest).
new,upanddownwith docker on Windows (Linux containers) get best effort only. On Windows, the Linux path is the Windows Subsystem for Linux (WSL2)
Installation
Crest has no tagged release yet. Packagist has only the version dev-master, and the default minimum-stability of composer is stable. Thus give the version in the composer require command.
In a project, install Crest as a dev dependency:
composer require --dev phalcon/crest:dev-masterThis copy is the project Crest, in vendor/bin/crest. It runs the commands that work on the project, for example the generators (the make:* commands). See The global Crest and the project Crest.
To create projects, also install Crest globally. This copy is the global Crest. The global composer vendor/bin folder must be in your PATH:
composer global require phalcon/crest:dev-master