2017 © Pedro Peláez
 

library spintax

Simple way to process spintax strings

image

jopacicdev/spintax

Simple way to process spintax strings

  • Sunday, April 6, 2014
  • by jopacicdev
  • Repository
  • 0 Watchers
  • 7 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Spintax string processor for Laravel 4

Installation

To include this package in your project, require it in your composer.json file using, (*1)

"jopacicdev/spintax": "dev-master"

Afterwards, include service provider and alias in app/config/app.php:, (*2)

'Jopacicdev\Spintax\SpintaxServiceProvider',

and, (*3)

'Spintax' => 'Jopacicdev\Spintax\Facades\Spintax',

and you're all set!, (*4)

Usage

Pass your spintax string as a parameter of process method:, (*5)

Spintax::process('{Hi|Hello|Howdy|Hola|Hey} there {Mr|Mrs|Miss} {Smith|Jones}!');

Credits

Original PHP class by Jason Davis - https://www.codedevelopr.com/, (*6)

The Versions

06/04 2014

dev-master

9999999-dev

Simple way to process spintax strings

  Sources   Download

The Requires

 

06/04 2014

v0.1

0.1.0.0

Simple way to process spintax strings

  Sources   Download

The Requires