You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[NFR]: repl: a PHP shell with the project's container #104
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.
Activity