Port of the iCF to fuelPHP