2017 © Pedro Peláez
 

library loripsumwrapper

Loripsum API Wrapper in PHP

image

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

The README.md

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           

The Versions

27/06 2017

dev-master

9999999-dev

Loripsum API Wrapper in PHP

  Sources   Download

MIT

The Development Requires

by Bruno MOnteiro

27/06 2017

1.0

1.0.0.0

Loripsum API Wrapper in PHP

  Sources   Download

MIT

The Development Requires

by Bruno MOnteiro