FuelPHP v1.1 Cheat Sheet

Download the PDF

Agent

 
Retrieve information about browser based on the clients User Agent string (Configuration).

Arr

 
Set of helper functions for working with arrays.

Asset

 
Grouping and displaying of assets (js, css, img).

Autoloader

 
Interact with the autoloading process.

Cache

 
Cache the result of a resource heavy operation (Configuration & Advanced).

Cli

 
Interact with the command line.

Config

 
Load in a config file, get a value or set a value.

Cookie

 
Get, set and delete cookies.

Crypt

 
Encrypt or decrypt a string.

DB

 
Build and execute database queries and fetch the result (Introduction & Usage & Builder Insert, Select, Update, Delete, Where).

FuelPHP v1.1 Cheat Sheet

PDF

DBUtil

 
Manage and perform routine operations on your databases.

Date

 
Helper functions for working with dates.

Debug

 
Debugging variables, objects, arrays.

Event

 
Interact with the Fuel Core without having to alter any core files.

Fieldset

 
Create a form and handle it's validation in an object oriented way. See Form and Validation classes.

File

 
Set of methods to working with files & directories (Introduction & Advanced & Handlers).

Form

 
Create individual form elements or create a full form along with validation. See Fieldset class.

Format

 
Convert between various formats such as XML, JSON, CSV, etc.

Ftp

 
Upload, download, move and mirror files with remote servers over the FTP protocol.

Fuel

 
The Fuel class contains the core methods of the Fuel framework.

FuelPHP v1.1 Cheat Sheet

PDF

Html

 
HTML wrapper for nearly all HTML tags.

Image

 
Add common manipulations to an image such as resizing, cropping, and so on.

Inflector

 
Transforms words from singular to plural, class names to table names, modularized class names to ones without, and class names to foreign keys.

Input

 
Access HTTP parameters, load server variables and user agent details.

Lang

 
Set language variables using language files in your application.

Log

 
Write messages to the log files.

Migrate

 
Run, walk through and revert Migrations from your controllers.

Model_Crud

 
Supplies CRUD functionalities in a standardized way. To use the Model_Crud class, create a class that extends \Model_Crud (Introduction).

Mongo_Db

 
Interact with MongoDB databases (Introduction).

FuelPHP v1.1 Cheat Sheet

PDF

Num

 
Additional formatting methods for working with numeric values.

Package

 
Load, unload, check if a package is loaded, or get all packages loaded.

Pagination

 
Setup pagination for records you display.

Redis

 
Interact with a Redis key-value store. Every valid redis command (see the Redis Documentation) as a method of that object.

Request

 
Processes URI requests. Need it to generate requests in an HMVC context.

Response

 
Methods to deal with HTTP response and browser output.

Security

 
Allows you to have CSRF protection in your application.

Session

 
Maintain state for your application in the stateless environment of the web. Store variables on the server using a variety of storage solutions (Configuration & Advanced).

Str

 
Set of methods to help with the manipulation of strings.

Upload

 
Securely process files that have been uploaded to the application (Configuration).

Uri

 
Interact with the URI.

Validation

 
Helps you validate user input. Use Fieldset class for form & validation at the same time (Introduction & Errors).

View

 
Object wrapper for HTML pages with embedded PHP, called "views".

This cheat sheet is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Fork me on GitHub