Skip to content
Greg Bowler edited this page Apr 1, 2018 · 14 revisions

PHP.Gt relies on [Composer][composer] is the installation medium. Using Composer ensures you have the correct versions of PHP and extensions installed.

With Composer installed, run composer global require phpgt/cli to install the command line interface (CLI) for PHP.Gt. This will make the gt command available to your terminal, which includes the helper commands required for creating new projects and running them.

For the gt command to be available globally, ensure that your ~/.composer/vendor/bin directory is in your PATH (or on Windows, C:\%HOMEPATH%\AppData\Roaming\Composer\vendor\bin).

Clone this wiki locally