O'Reilly logo

Learning FuelPHP for Effective PHP Development by Ross Tweedie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting and installing FuelPHP with curl and Oil

The easiest way of installing FuelPHP is through the use of curl (or wget) and a stripped down version of Oil, the FuelPHP command-line tool.

To install the quick installer, you can run the following command from the shell or a terminal window:

$ curl get.fuelphp.com/oil | sh*

This will ask for your password to install the new files to the /usr/bin directory.

After this is over, you only need to use oil rather than php oil, but both will work for the command-line iterations.

Note

If you have used a FuelPHP version older than 1.6 previously, you will need to reinstall FuelPHP to allow it to use the Composer tool.

To create a new project, simply run the following command:

$ oil create <project>

In this, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required