Faker Versions Save

Faker is a PHP library that generates fake data for you

v1.1.0

10 years ago

New Features

  • Added latitude and longitude formatters to Address provider (fixe)
  • 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 new UserAgent provider (blaugueux)
  • Added random number generator between a and b, simply like rand() (Seldaek)
  • Updated dateTimeBetween to accept DateTime instances (Seldaek)
  • Updated text provider to return paragraphs as a string instead of array. Great for populating markdown textarea fields (Seldaek)

New Locales

  • Added Serbian provider (umpirsky)
  • Added Slovak provider (bazo)

Bug Fixes

  • Fixed Person provider in Russian locale (Isamashii)
  • Fixed spaces in generated emails (blaugueux)

v1.2.0

10 years ago

New Features

  • Added basic file provider (anroots)
  • Added Generation of valid SIREN & SIRET codes to French providers (alexsegura)
  • Added possibility to call methods on Doctrine entities, possibility to generate unique id (nenadalm)
  • Added uuid provider (goatherd)

New Locales

  • Added Armenian (hy_AM) provider (artash)
  • Added Brazilian Portuguese (pt_BR) provider (oliveiraev)
  • Added Danish (da_DK) providers (toin0u)
  • Added Dutch (nl_NL) provider (WouterJ)
  • Added en_CA address and phone numbers (cviebrock)
  • Added Finnish (fi_FI) provider (drodil)
  • Added icelandic provider (is_IS) (birkir)
  • Added more fake data to the Italian providers (EmanueleMinotto)
  • Added more fake data to ru_RU provider (rmrevin)
  • Added more fake data to the Ukraininan providers (lysenkobv)
  • Added new provider for fr_BE locale (jflefebvre)
  • Added nl_BE provider (wimvds)
  • Added Random Float provider (csanquer)
  • Added safe email domain provider (csanquer)
  • Added Spanish (es_ES) provider (ivannis)
  • Added Turkish (tr_TR) Provider (faridmovsumov)
  • Added Ukrainian (ua_UA) provider (rsvasilyev)

Bug Fixes

  • Fixed bug in Doctrine EntityPopulator (beberlei)
  • Fixed bug in Faker\ORM\Doctrine\Populator (mmf-amarcos)
  • Fixed composer.json (Seldaek)
  • Fixed Doctrine populator to allow for the population of entity data that has associations to other entities (afishnamedsquish)
  • Fixed encoding problems in nl_NL Address provider (Dynom)
  • Fixed executable bit in some PHP files (siwinski)
  • Fixed invalid UTF-8 sequence in domain provider with the Bulgarian provider (Dynom)
  • Fixed latitude provider (rumpl)
  • Fixed missing typehint in Base::__construct() (benja-M-1)
  • Fixed prefixes typos in 'pl_PL' Person provider (krymen)
  • Fixed safeEmail provider to be really safe (TimWolla)
  • Fixed spaces appearing in generated emails (alchy58)
  • Fixed the nl_NL Person provider (Dynom)
  • Fixed typo in README (benja-M-1)
  • Fixed unpredictability of fake data generated by Faker\Provider\Base::numberBetween() (goatherd)
  • Fixed use of fourth argument on Doctrine addEntity (ecentinela)
  • Fixed utf-8 bug with lowercase generators (toin0u)

Miscellaneous

  • Documented alternative randomNumber usage (Seldaek)
  • Cleaned up whitespaces (toin0u)
  • Removed all requires and added the autoload definition to composer (Dynom)
  • Updated locale provider to use a static locale list (spawn-guy)