2017 © Pedro Peláez
 

library spun

PHP Library to process strings containing spintax syntax.

image

mchljams/spun

PHP Library to process strings containing spintax syntax.

  • Friday, September 29, 2017
  • by mchljams
  • Repository
  • 1 Watchers
  • 2 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 8 Versions
  • 29 % Grown

The README.md

Spun

PHP string/text spinning library using spintax., (*1)

How To Use

$spun = new Spun;

$spun->str = "This is a string that {includes|contains|holds} choices you can spin.";

$new_string = $spun->spin();

One Possible Result, (*2)

This is a string that holds choices you can spin.

Proposed Features

  1. Nesting
  2. Configurable Syntax (Use delimiters other than curly braces)

Unit Tests

Run Unit Tests, (*3)

Change directory to the root of this package and run:, (*4)

./vendor/bin/phpunit

Run Unit Tests With HTML Coverage Report, (*5)

./vendor/bin/phpunit --coverage-html coverage

Code Linting

Using PHP_CodeSniffer, (*6)

Developed using the PSR-2 Standard, (*7)

./vendor/bin/phpcs --standard=PSR2 ./src

The Versions

29/09 2017

dev-master

9999999-dev https://github.com/mchljams/spun/

PHP Library to process strings containing spintax syntax.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

spintax

29/09 2017

0.0.6

0.0.6.0 https://github.com/mchljams/spun/

PHP Library to process strings containing spintax syntax.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

spintax

18/02 2017

dev-develop

dev-develop https://github.com/mchljams/spun/

PHP Library to process strings containing spintax syntax.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

spintax

18/02 2017

0.0.5

0.0.5.0 https://github.com/mchljams/spun/

PHP Library to process strings containing spintax syntax.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

spintax

18/02 2017

0.0.4

0.0.4.0 https://github.com/mchljams/spun/

PHP Library to process strings containing spintax syntax.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

spintax

17/02 2017

0.0.3

0.0.3.0 https://github.com/mchljams/spun/

PHP Library to process strings containing spintax syntax.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

spintax

17/02 2017

0.0.2

0.0.2.0 https://github.com/mchljams/spun/

PHP Library to process strings containing spintax syntax.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

spintax

17/02 2017

0.0.1

0.0.1.0 https://github.com/mchljams/spun/

PHP Library to process strings containing spintax syntax.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

spintax