2017 © Pedro Peláez
 

library good-time-playground

A super-awesome good-time playground!

image

chi-php-ug/good-time-playground

A super-awesome good-time playground!

  • Monday, February 9, 2015
  • by SammyK
  • Repository
  • 3 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 100 % Grown

The README.md

The super-awesome good-time playground

Build Status Latest Stable Version License, (*1)

Welcome to the super-awesome good-time playground for the Chicago PHP User Group!, (*2)

This package is a great way to pratice contributing to open source. If you see soemthing misspelled in the README, or maybe a test isn't passing, or you want to add a new feature, feel free to submit your own PR!, (*3)

Into

The Silly Site Morpher is a library that takes a URL and returns the contents after it has undergone some sort of mutation., (*4)

The mutations are performed by "morpher providers" found under the Morphers folder., (*5)

Installation

Add the following to your composer.json file., (*6)

{
    "require": {
        "chi-php-ug/good-time-playground": "~0.0"
    }
}

Usage

use ChiPhp\Playground\SillySiteMorpher;
use ChiPhp\Playground\Morphers\BathroomMorpher;

$ssm = new SillySiteMorpher('http://example.com');
$morpher = new BathroomMorpher();
$content = $ssm->morph($morpher);

echo $content; // Now with some bathroom flare!

Supported Morphers

There are a number of morphers you can use to make a silly site., (*7)

Bathroom Morpher

Replaces random words with bathroom-related words., (*8)

use ChiPhp\Playground\Morphers\Bathroom;

$morpher = new BathroomMorpher();

Add your own!

We've love to add more silly morphers to the package. Code your morpher to the MorpherInterface and add documentation for it!, (*9)

Contributing

Please see CONTRIBUTING for details., (*10)

Credits

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

09/02 2015

dev-master

9999999-dev https://github.com/ChiPHP/good-time-playground

A super-awesome good-time playground!

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

playground

09/02 2015

0.0.0

0.0.0.0 https://github.com/ChiPHP/good-time-playground

A super-awesome good-time playground!

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

playground