Skip to content
On this page

Installing Forme CodeGen

Forme includes a full featured code generation cli tool, which will speed up your development workflow by scaffolding out classes for you. To install it, run:

bash
composer global require forme/codegen

It should then be available for you globally on your command line. Try running:

bash
forme -V

And you should get an output like:

bash
Forme Code Generator 2.0.0

You can get some info on the available commands as follows:

bash
forme list

You're now ready to create new Forme projects!

TIP

You'll need to have already set up your local environment according to the instructions provided, or this probably won't work!

Bash completion

You can add the following line to your bash_profile to enable tab completion.

bash
eval "$(forme completion)"

Made by Moussa Clarke @ Sanders Web Works with ❤️