Skip to content

[NFR]: repl: a PHP shell with the project's container #104

Description

@niden

The devtools command console (aliases shell, psysh), the last item of the parity map of #13. In devtools v4 it starts a plain PsySH shell, with --include=<file>, and it loads no project: a model does not work there without a bootstrap file. Crest does more: the shell starts with the container of the project, so the models and the services of the project work.

After 1.0. devtools gets a deprecation notice at 1.0, and it is archived after this issue ships (#13).

Scope

  • crest repl, a project command: crest boots the front of the project, as container:list does, then starts PsySH with the container.
  • ADR and MVC.
  • --include=<file>, as devtools has.
  • psy/psysh in suggest. When it is not installed, crest prints how to install it.
  • Docs and CHANGELOG.md.

Open

  • The variables in the shell (for example $di or $container).
  • What crest does when the front does not boot (for example, no vendor/).
  • The aliases (console, shell, psysh, as devtools has).

Done when

  • In an MVC project, crest repl gives a shell where Users::findFirst(1) works with the db service of the project.
  • In an ADR project, the container of the project is in the shell.

From #13.

Activity

  1. self-assigned this
    on Nov 27, 2026
  2. added
    enhancement
    on Nov 27, 2026
  3. added theissue type on Nov 27, 2026
  4. moved this from Backlog to Active Sprint in Phalcon v5on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Projects

  • Status
    Active Sprint

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions