tomwilford / lorem-docsum
A lorem ipsum generator for documents
v0.0.1
2026-08-30 12:59 UTC
Requires
- php: ^8.3
- fakerphp/faker: ^1.24
- phpoffice/phpword: ^1.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.95
- phpstan/phpstan: ^2.2
- squizlabs/php_codesniffer: ^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-07 20:11:56 UTC
README
Description
Lorem Ipsum but for documents.
Treat yourself to a document with some dummy text in it.
The original intention for this is to be used as a script to generate documents, but, you can also install and use it in your own projects via composer.
Terminal Usage Instructions
- Clone this repository and enter the directory
- Run
composer install - Run
php ./bin/lorem-docsum.php - The manpage will output to the terminal what you need to do next
Composer Usage Instructions
- Run
composer require tomwilford/lorem-docsum - Create a new instance of
BuildActionwithNullOutputResponderand a target directory-
$faker = Faker::create(); $buildAction = new BuildAction( new NullOutputResponder(), $faker, new FakerContentProvider($faker), '/path/to/target/directory/' ),
-
- Call
run()on the instance with your target bytes and file type
License
The MIT License (MIT).