From 62c90723a850933dbdd4cae7edbd19c7cb49ecaa Mon Sep 17 00:00:00 2001 From: yohang <yohan@giarelli.org> Date: Tue, 25 Oct 2011 16:21:20 +0200 Subject: [PATCH] Updated readme --- readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.md b/readme.md index a7e53f57..3def7822 100644 --- a/readme.md +++ b/readme.md @@ -9,11 +9,13 @@ Faker requires PHP >= 5.3. ## Basic Usage Require the Faker autoloader to use Faker in a script + ```php <?php require_once '/path/to/src/autoload.php'; ``` + Or use your own autoloader (ex: Symfony2 ClassLoader) to autoload the Faker namespace. Use `Faker\Factory::create()` to create and initialize a faker generator, which can generate data by accessing properties named after the type of data you want.