1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-04-21 16:01:56 +02:00

Merge pull request #1614 from samnela/fix-readme

Suggest PSR-4 compliant autoloader in comment
This commit is contained in:
Francois Zaninotto 2019-04-01 23:23:46 +02:00 committed by GitHub
commit 825a16c127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ Use `Faker\Factory::create()` to create and initialize a faker generator, which
<?php
// require the Faker autoloader
require_once '/path/to/Faker/src/autoload.php';
// alternatively, use another PSR-0 compliant autoloader (like the Symfony2 ClassLoader for instance)
// alternatively, use another PSR-4 compliant autoloader
// use the factory to create a Faker\Generator instance
$faker = Faker\Factory::create();