O'Reilly logo

FuelPHP Application Development Blueprints by Sébastien Drouyer

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

FuelPHP installation and configuration

You first need to:

  • Install a new FuelPHP instance
  • Configure Apache and your host file to handle it: in this chapter, we will access our application by requesting the URL http://mytodolists.app
  • Update Composer if necessary
  • Create a new database for your application
  • And configure FuelPHP in order to allow your application to access this database

These steps have been covered in Chapter 1, Building Your First FuelPHP Application, so you might want to take a look at it.

This project will also need the ORM package, and since it is already installed, we just need to enable it. For doing this, simply open the APPPATH/config/config.php file and insert the following at the end of the returned array:

 'always_load' => array( ...

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