PHPackages                             phalcon/crest - 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. phalcon/crest

ActiveLibrary

phalcon/crest
=============

Command line application for Phalcon

00[1 issues](https://github.com/phalcon/crest/issues)PHPCI passing

Since Jul 27Pushed todayCompare

[ Source](https://github.com/phalcon/crest)[ Packagist](https://packagist.org/packages/phalcon/crest)[ RSS](/packages/phalcon-crest/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Phalcon Crest
=============

[](#phalcon-crest)

Command line application for Phalcon — generators, introspection and project tooling.

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

[](#requirements)

- PHP `^8.1`
- Phalcon, either the `ext-phalcon` C extension (`^5`) or the `phalcon/phalcon` PHP implementation (`^6`) — crest itself needs neither to run

Install
-------

[](#install)

```
composer require --dev phalcon/crest

```

Usage
-----

[](#usage)

```
vendor/bin/crest                      list available commands
vendor/bin/crest about                environment and version report
vendor/bin/crest make:action GET /company/all

```

Global options
--------------

[](#global-options)

OptionPurpose`--config=`explicit path to `crest.php``--directory=`project root override`--trace`full exception trace`--help`, `-h`usage for the current command`--quiet`, `-q`suppress non-essential output`--version`crest versionConfiguration
-------------

[](#configuration)

`crest.php` at the project root is optional. Without it, crest reads `composer.json`'s psr-4 map and defaults `paths.action` to `src/Action`.

```
return [
    'flavor'    => 'adr',
    'namespace' => 'App',
    'paths'     => ['action' => 'src/Action'],
];
```

Namespaces are resolved from your psr-4 map, so a path must be covered by an autoload rule — `src/Action` under `App\ => src/` becomes `App\Action`. If you write to a directory your autoloader does not cover, declare the namespace outright:

```
return [
    'paths'      => ['action' => 'app/Handlers'],
    'namespaces' => ['action' => 'Shop\Handlers'],
];
```

Custom stubs
------------

[](#custom-stubs)

Copy a stub into `resources/stubs//` in your project and crest uses yours instead of the packaged one.

Development
-----------

[](#development)

```
docker compose up -d
docker exec crest-app composer install
docker exec crest-app composer test
docker exec crest-app composer cs
docker exec crest-app composer analyze

```

Set `PHALCON_VARIANT=v6` in `.env` and rebuild to test against `phalcon/phalcon` instead of the C extension.

License
-------

[](#license)

BSD-3-Clause. See [LICENSE](LICENSE).

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1221505?v=4)[The Phalcon PHP Framework](/maintainers/phalcon)[@phalcon](https://github.com/phalcon)

---

Top Contributors

[![niden](https://avatars.githubusercontent.com/u/1073784?v=4)](https://github.com/niden "niden (21 commits)")

### Embed Badge

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

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

PHPackages © 2026

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