Download the PHP package r1pp3rj4ck/lipsum-bundle without Composer
On this page you can find all versions of the php package r1pp3rj4ck/lipsum-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download r1pp3rj4ck/lipsum-bundle
More information about r1pp3rj4ck/lipsum-bundle
Files in r1pp3rj4ck/lipsum-bundle
Package lipsum-bundle
Short Description r1pp3rj4ck LipsumBundle
License MIT
Homepage https://github.com/r1pp3rj4ck/r1pp3rj4ckLipsumBundle
Informations about the package lipsum-bundle
r1pp3rj4ckLipsumBundle
Generates bullshit for fixtures and other uses
License
This bundle ships with MIT license. Full license available here
Installation
Step 1: Download r1pp3rj4ckLipsumBundle using Composer
Add r1pp3rj4ckLipsumBundle to your composer.json
Update your vendors:
Or you can also install only r1pp3rj4ckLipsumBundle:
Step 2: Register the bundle in your kernel
You shouldn't have any reason to use this bundle in prod environment, so you can just register it in dev environment:
(optional) Step 3: Change fixtures
This bundle ships with three fixture files containing 1219 male names, 1000 female names and 1000 last names. You can override these default files (e.g. frequent for names in your native language) in the configuration.
The files must contain one name per line.
(optional) Step 4: Override the default generator
You can override the default generator by implementing the
r1pp3rj4ck\LipsumBundle\Generator\GeneratorInterface
interface and add it
to the configuration:
Services
r1pp3rj4ck.lipsum.generator.profile
- generates user data
Usage:
r1pp3rj4ck.lipsum.generator.random
- generates random strings
Usage:
r1pp3rj4ck.lipsum.generator.address
- generates random addresses
Usage:
Configuration Reference
This configuration reference contains the default values of everything: