fzaninotto/Faker — Issue #5: Adding an autoloader
Author: willdurand
Created: 2011-10-15 11:52:14+00:00
State: open

Hi,

What about adding an autoloader for this lib ? And to set a "standard" directory structure as below:

```
Faker
|_ src/
| |_ Faker/
| |_ Provider/
| |_ Factory.php
| |_ Generator.php
|_ tests/
|_ Faker/
|_ Provider/
|_ FactoryTest.php
|_ GeneratorTest.php
```

That will follow the PSR-0 standard and will ease integration in other projects. You won't have to provide a dependency with ClassLoader except for unit test or standalone usage (which is more or less the same thing).

See: https://github.com/knplabs/Gaufrette
Note: Propel2 will follow the same standard.