re: Bootstrapping a CLI PHP application in Vanilla PHP VIEW POST


Nice, but what is the output of this in real life, is there is a demo or something to try?



Well, you can do a lot with this, if you use to use Symfony or Laravel, for sure, at some point you die use the cli to generate new controller, entities/models, services, database and the tables... Your imagination is the limit


Hi! The idea is that we build together a little framework for creating PHP applications in the command line, we'll refactor a few things in the next posts of this series, but the way it is now it has two example commands that you can use as base to build something else. It's very versatile. You can find this code here: erikaheidi/minicli:0.1.0.

code of conduct - report abuse