Initial commit
This commit is contained in:
parent
83cf1bc068
commit
1d7bea2b91
3 changed files with 202 additions and 1 deletions
24
README.md
24
README.md
|
@ -1,2 +1,24 @@
|
|||
# php-flip
|
||||
PHP port of flip.js
|
||||
|
||||
PHP port of [flip.js][flipjs]
|
||||
|
||||
## Installation
|
||||
|
||||
To install via `composer`, add the following to your `composer.json`:
|
||||
|
||||
```
|
||||
"require": {
|
||||
"joshtronic/php-flip": "dev-master"
|
||||
}
|
||||
```
|
||||
|
||||
Then run `composer update`
|
||||
|
||||
## Usage
|
||||
|
||||
```php
|
||||
$flip = new joshtronic\Flip;
|
||||
echo $flip->flip('text to flip');
|
||||
```
|
||||
|
||||
[flipjs]: https://github.com/jergason/flipjs/blob/master/flip.js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue