If you’ve installed the full framework, you can quickly bootstrap a small application project by running the following command:
boostrap/pop install MyApp
MyApp is the desired namespace of your application. The above command will
create the necessary basic application scaffolding to run a simple web application.
You will see an
app folder with your namespaced codebase in it and a
folder with the application’s front controller in it. If you point a web server at
the public folder, you will see a basic index page:
php -S localhost:8000 -t public
You can also bootstrap an application with console support as well. If you run the following command:
boostrap/pop install --cli MyApp
The codebase created will also include a script folder with the CLI application script.
help command is set up be default: