dev-master
9999999-devSimple way to process spintax strings
The Requires
- php >=5.3.0
- illuminate/support 4.1.*
by Josip Opacic
v0.1
0.1.0.0Simple way to process spintax strings
The Requires
- php >=5.3.0
- illuminate/support 4.1.*
by Josip Opacic
Wallogit.com
2017 © Pedro Peláez
Simple way to process spintax strings
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)
Pass your spintax string as a parameter of process method:, (*5)
Spintax::process('{Hi|Hello|Howdy|Hola|Hey} there {Mr|Mrs|Miss} {Smith|Jones}!');
Original PHP class by Jason Davis - https://www.codedevelopr.com/, (*6)
Simple way to process spintax strings
Simple way to process spintax strings