Faker, the random data generator for PHP, has recently received some press coverage thanks to a simple tweet from Smashing Magazine. This brought a lot of traffic and attention to the library, and it became urgent to release a new version. So here it is: version 1.1 packs all bugfixes and enhancements since the original 1.0 release 4 months ago.
Here is the changelog:
- Updated text provider to return paragraphs as a string instead of array. Great for populating markdown textarea fields (Seldaek)
- Updated dateTimeBetween to accept DateTime instances (Seldaek)
- Added random number generator between a and b, simply like rand() (Seldaek)
- Fixed spaces in generated emails (blaugueux)
- Fixed Person provider in Russian locale (Isamashii)
- Added new UserAgent provider (blaugueux)
- Added locale generator to Miscellaneous provider (blaugueux)
- Added timezone generator to DateTime provider (blaugueux)
- Added new generators to French Address providers (departments, regions) (geoffrey-brier)
- Added new generators to French Company provider (catch phrase, SIREN, and SIRET numbers) (geoffrey-brier)
- Added state generator to German Address provider (Powerhamster)
- Added Slovak provider (bazo)
- Added latitude and longitude formatters to Address provider (fixe)
- Added Serbian provider (umpirsky)
Thanks a lot to all the contributors!
Published on 29 Oct 2012
with tags faker php