Skip to content
On this page

Installing Forme CodeGen

Forme codegen is the global CLI tool for Forme. It handles project scaffolding, code generation, and local development tasks across all your Forme projects.

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 ❤️