library loripsumwrapper
Loripsum API Wrapper in PHP
bmonteirog/loripsumwrapper
Loripsum API Wrapper in PHP
- Tuesday, June 27, 2017
- by bmonteirog
- Repository
- 1 Watchers
- 0 Stars
- 7 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Loripsum API Wrapper in PHP
Installation
composer require bmonteirog/loripsumwrapper
Usage
<?php
require __DIR__ . '/vendor/autoload.php';
$loripsum = new Bmonteirog\Loripsum\Wrapper;
echo $loripsum->render(); // Render 4 paragraphs in default Mode
echo $loripsum->length('short')
->withLinks()
->render(2); // Render 2 short paragraphs with links
echo $loripsum->length('short')
->isPlaintext()
->render(2); // Render 2 short plain text paragraphs
echo $loripsum->length('verylong')
->decorated()
->withLinks()
->withUnorderedLists()
->withNumberedLists()
->withDescriptionLists()
->withBlockquotes()
->withCode()
->withHeaders()
->isAllCaps()
->isPrude()
->render(10); // Render 10 verylong paragraphs with All options
dev-master
9999999-dev
Loripsum API Wrapper in PHP
Sources
Download
MIT
The Development Requires
by
Bruno MOnteiro
1.0
1.0.0.0
Loripsum API Wrapper in PHP
Sources
Download
MIT
The Development Requires
by
Bruno MOnteiro