twLoremIpsumPlugin
0.4.0alpha
for sf 1.4sf 1.3sf 1.2 MIT
False data generator with more-or-less normal distribution of letters
When it is necessary to generate test data for performance testing, or if you need to generate data for presentation purposes this plugin can be helpfull.
Feel free to contribute on github : twAdminPlugin
Developers
License
The MIT License
Copyright (c) 2010 Arkadiusz Tułodziecki
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Releases for sf 1.4
| Version |
License |
API |
Released |
|
0.5.0beta
|
MIT license |
0.5.0beta
|
05/09/2010 |
|
0.4.0alpha
|
MIT license |
0.4.0alpha
|
01/09/2010 |
|
0.3.0alpha
|
MIT license |
0.3.0alpha
|
31/08/2010 |
|
0.2.1alpha
|
MIT license |
0.2.0alpha
|
30/08/2010 |
|
0.1.0alpha
|
MIT license |
0.1.0alpha
|
29/08/2010 |
Releases for sf 1.3
| Version |
License |
API |
Released |
|
0.5.0beta
|
MIT license |
0.5.0beta
|
05/09/2010 |
|
0.4.0alpha
|
MIT license |
0.4.0alpha
|
01/09/2010 |
|
0.3.0alpha
|
MIT license |
0.3.0alpha
|
31/08/2010 |
|
0.2.1alpha
|
MIT license |
0.2.0alpha
|
30/08/2010 |
|
0.1.0alpha
|
MIT license |
0.1.0alpha
|
29/08/2010 |
Releases for sf 1.2
| Version |
License |
API |
Released |
|
0.5.0beta
|
MIT license |
0.5.0beta
|
05/09/2010 |
|
0.4.0alpha
|
MIT license |
0.4.0alpha
|
01/09/2010 |
|
0.3.0alpha
|
MIT license |
0.3.0alpha
|
31/08/2010 |
|
0.2.1alpha
|
MIT license |
0.2.0alpha
|
30/08/2010 |
|
0.1.0alpha
|
MIT license |
0.1.0alpha
|
29/08/2010 |
Changelog for release 0.4.0 - 01/09/2010
Other releases
Release 0.5.0 - 05/09/2010
- ldath: task's to generate dictionary files used by plugin
- ldath: New method - twLoremIpsum::generateRandomEmail()
- ldath: New method - twLoremIpsum::generateUniqueEmail()
- ldath: New method - twLoremIpsum::generateRandomHttp()
- ldath: New method - twLoremIpsum::generateRandomIP()
- ldath: New method - twLoremIpsum::generateRandomCreatedAt()
Release 0.4.0 - 01/09/2010
Release 0.3.0 - 31/08/2010
- ldath: adding sentences generator (useful for lists)
- ldath: adding possibility to use own dictionary source files
- ldath: bugfixes
Release 0.2.1 - 30/08/2010
- ldath: adding namespaces for unique data generators
- ldath: new methods for single data generators
generateUniqueString & generateParagraph
- ldath: now is possible to setup number of sentences or random based on min/max numbers of sentences in paragraph
- ldath: generating random words and uniques random words are now possible
Release 0.1.0 - 29/08/2010
twLoremIpsum plugin
False data generator with more-or-less normal distribution of letters
When it is necessary to generate test data for performance testing, or if you need to generate data for presentation purposes this plugin can be helpful.
Example
Generating 10 paragraphs
$loremipsum = new twLoremIpsum();
$this->paragraphs = $loremipsum->generateParagraphs(10);
And in Template:
<?php foreach($paragraphs as $paragraph): ?>
<p><?php echo $paragraph ?></p>
<?php endforeach;?>
Generating 1000 unique strings with string lenght changes from 5 to 10
$loremipsum = new twLoremIpsum();
$this->mystring = $loremipsum->generateUniqueStrings(1000, array(5, 10));
And in Template:
<?php foreach($mystring as $string): ?>
<p><?php echo $string ?></p>
<?php endforeach;?>
TODO
- Better and complete documentation
- Bytes generator - generating setup number of bytes