Download the PHP package madeitbelgium/spintax without Composer
On this page you can find all versions of the php package madeitbelgium/spintax. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download madeitbelgium/spintax
More information about madeitbelgium/spintax
Files in madeitbelgium/spintax
Package spintax
Short Description Generate multiple artikels based on one text.
License MIT
Informations about the package spintax
PHP Spintax
With this (Laravel) package you can create multiple articles based on a single text. A forked and extended version of https://github.com/chilloutdevelopment/ChillDevSpintax
Installation
Require this package in your composer.json
and update composer.
Documentation
Usage
Get a random spin
Get all possible spins:
Other examples
But there is much more that than that in our library. First of all nested structures are supported:
Still not finished! With our brilliant library you can detect the path used to generate given variant and re-use it later:
Paths are counted from 0, each entry is next step.
You can also use partial paths to define just the starting path and all missing parts will be choosen randomly:
For all this there is a shortcut method Parser::replicate()
(you can use comma-separated number in a single string as second argument in this shortcut method):
The complete documentation can be found at: http://www.madeit.be/
Support
Support github or mail: [email protected]
Contributing
Please try to follow the psr-2 coding style guide. http://www.php-fig.org/psr/psr-2/
License
This package is licensed under LGPL. You are free to use it in personal and commercial projects. The code can be forked and modified, but the original copyright author should always be included!