1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-26 10:12:33 +01:00

86 Commits

Author SHA1 Message Date
Charles Sanquer
1a8feb646e add Maximum Timestamp option to get always same unix timestamp when using a fixed seed
fix and improve unit tests when setting endMaximumTimestamp

change static maximumEndTimestamp to an optional parameter $max in each
datetime methods

some improvements to DateTimeProvider max timestamp
2014-03-10 15:41:46 +01:00
David Stensland
a68fa66941 Lower randomElements defaults and add readme a note
Also tidied up the LengthException message, and made randomElements
just a tiny bit faster by moving the array lookup to after a unique
random value is chosen.
2014-03-06 07:55:25 -05:00
Francois Zaninotto
680b36daa4 Merge pull request #254 from TimWolla/advancedTextProvider
Add an advanced text generator based on markov chains.
2014-03-03 16:49:37 +01:00
Tim Düsterhus
08069d4322 Improve documentation of the Text provider 2014-02-27 15:09:04 +01:00
Eric Aken Roberts
41f1b6ae74 Update optional() weight in README 2014-02-10 19:21:22 -06:00
Francois Zaninotto
6bc40f8109 Add monthly downloads badge 2014-01-30 18:51:10 +01:00
Francois Zaninotto
2089e2fc36 Merge pull request #233 from avataru/master
New ro_RO formatters: Personal Numerical Code (CNP) and phone numbers
2014-01-30 00:12:37 -08:00
Mihai Zaharie
80257b7933 Remove general formatters (not locale specific) 2014-01-06 13:38:03 +02:00
Jonathan Garbee
19cc376cc1 Update readme.md
Removed second Payment example. One already exists which makes the last one redundant.
2014-01-06 06:04:34 -05:00
Mihai Zaharie
5aaa2c0025 Fix line endings (CRLF -> LF) 2014-01-06 11:43:38 +02:00
Mihai Zaharie
6a933280af Add ro_RO Person and PhoneNumber formatters 2014-01-06 11:34:35 +02:00
Francois Zaninotto
9f4ad89798 Fix executable bit on recently modified files 2013-12-17 10:29:03 +01:00
Kazuyuki Hayashi
6858338167 Add ja_JP\Person to the language specific formatters section 2013-12-17 11:39:47 +09:00
Francois Zaninotto
3326cd3c40 move widgets after the introduction 2013-11-28 17:41:22 +01:00
Francois Zaninotto
395f7365c1 Add Smaller widget 2013-11-28 17:35:35 +01:00
Francois Zaninotto
db610ff34b Add SensioLabsInsight widget 2013-11-28 17:34:55 +01:00
John Was
27d02663e5 moved bank account numbers from Company to Payment provider 2013-10-22 21:59:19 +02:00
Francois Zaninotto
a78eb24fdf Move image provider up 2013-10-21 22:40:49 +02:00
Francois Zaninotto
f2d5245b00 Fix coding standards, remove __callStatic(), add cURL and change defaults 2013-10-21 22:32:54 +02:00
Robert Reinhard
02107bc738 Image generation powered by LoremPixel 2013-10-21 21:33:55 +02:00
Francois Zaninotto
ac73291f58 Add new providers to readme 2013-09-24 00:24:59 +02:00
Francois Zaninotto
fac6a3839c Add unique() modifier
* Add `BaseProvider::unique($reset = false)
* Add `UniqueGenerator` proxy class
* Refactor `optional()` tests for better coverage
* Merge `optional()` and `unique()` documentations

Closes #171
2013-09-23 22:35:04 +02:00
John Was
3492b5193e add new Polish generators to readme.md 2013-09-21 10:10:42 +02:00
Robert Reinhard
5a53cc02f4 Adding coding standards changes 2013-08-23 14:38:17 -07:00
Robert Reinhard
059ff45e36 Adding a chainable property that will randomly return NULL 2013-08-23 11:46:31 -07:00
Juan Treminio
b339b8cf61 Name() => Person() 2013-08-11 15:18:41 -05:00
Pascal Borreli
cf4a23db11 Fixed typos 2013-07-04 23:57:11 +01:00
lsv
e088a2e625 added rgbCssColor method 2013-06-17 01:35:10 +02:00
lsv
99024404da Moved all color methods to a provider, and added
- safeHexColor
- safeColorName
- colorName
2013-06-17 01:22:10 +02:00
lsv
ecd58f0217 Added hexcolor, rgbcolor and rgbColorAsArray
Changed readme, with the 3 new methods
Added 3 new tests
2013-06-17 00:20:30 +02:00
Ando Roots
c5165afab7 Align Faker\Provider\File section comments 2013-04-22 11:42:04 +03:00
Ando Roots
0be08bd1e9 Remove extra line break from the README 2013-04-22 11:40:17 +03:00
Ando Roots
56170d7337 Add \Faker\Provider\File to the readme 2013-03-08 11:53:50 +02:00
Jordi Boggiano
df2c644392 Add alternative about randomNumber usage 2013-03-01 21:17:31 +01:00
Charles SANQUER
6e563b81cc add Random Float method 2013-02-20 14:59:46 +01:00
Francois Zaninotto
fe9c56fa5b Merge pull request #110 from csanquer/feature_safe_email_domain
adding a safe email domain generator method
2013-02-11 05:47:46 -08:00
Charles SANQUER
b21e325814 add missing safeEmailDomain example in Readme 2013-02-11 08:30:59 +01:00
Maik Penz
64cb2172c2 added uuid to default providers 2013-02-06 09:14:15 +01:00
Francois Zaninotto
7c234f6dcc Merge pull request #75 from toin0u/CleanedWhitespaces
Cleaned: whitespaces
2012-11-15 07:29:37 -08:00
toin0u
f7c80bec98 Updated: Danish provider & Readme 2012-11-13 23:04:40 +01:00
toin0u
6bfc1a4e3b Cleaned: whitespaces 2012-11-10 12:31:37 +01:00
Francois Zaninotto
cc2a254a5c Merge pull request #53 from blaugueux/locale
Added locale generator to Internet provider.
2012-10-06 22:48:17 -07:00
Benjamin Laugueux
ba39896acc Added new UserAgent provider. 2012-09-14 17:53:16 +02:00
Kristian Lewis Jones
350642dee0 Updated readme.md - lorem() formatter was changed to text() 2012-09-08 21:35:39 +01:00
Benjamin Laugueux
4acfeb7191 Added locale, countryCode and languageCode generator to Miscellaneous provider. 2012-09-04 09:19:47 +02:00
Francois Zaninotto
e288d3ca6c Merge pull request #52 from blaugueux/master
Added timezone generator to DateTime provider
2012-09-03 10:45:14 -07:00
Benjamin Laugueux
c735e6b907 Added timezone generator to DateTime provider.
Fixed typo.

Fixed doc alignment.
2012-09-03 19:26:42 +02:00
Geoffrey Brier
560eeb8767 Update README 2012-08-13 09:30:06 +02:00
Tiago Ribeiro
5b572724c6 Added latitude and longitude formatters to Address provider 2012-06-25 18:02:46 +01:00
Francois Zaninotto
ebcc92bf48 Add the ability to execute arbitrary modifier function on an entity.
Propel Only for now: support for tree structures (nested_set behavior).
2012-04-14 23:54:05 +02:00