2017 © Pedro PelĂĄez
 

library cowsayphp

Cowsay port in PHP

image

alrik11es/cowsayphp

Cowsay port in PHP

  • Friday, March 3, 2017
  • by alrik11es
  • Repository
  • 2 Watchers
  • 38 Stars
  • 99,359 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 7 Forks
  • 2 Open issues
  • 6 Versions
  • 6 % Grown

The README.md

cowsayphp

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads, (*1)

Do you remember classic linux Cowsay? Well this is a port for PHP if you want lovely cows everywhere in your terminal apps., (*2)

Now supporting more animals in the farm., (*3)

Install

Via Composer, (*4)

``` bash $ composer require alrik11es/cowsayphp, (*5)

Requires PHP >=5.6

## Using

``` php
use Cowsayphp\Farm;

$cow = Farm::create(\Cowsayphp\Farm\Cow::class);
echo '

'.$cow->say("Ohmg I'm a cow!").'
';

The result:, (*6)

< Ohmg I'm a cow! >
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Other animals

\Cowsayphp\Farm\Whale::class, (*7)

< hello I'm a whale! >
    \
     \            ##         .
            ## ## ##        ==
         ## ## ## ## ##    ===
     /"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
     \______ o           __/
      \    \         __/
       \____\_______/

\Cowsayphp\Farm\Dragon::class, (*8)

< Dragon! >
      \                    / \  //\
       \    |\___/|      /   \//  \\
            /0  0  \__  /    //  | \ \
           /     /  \/_/    //   |  \  \
           @_^_@'/   \/_   //    |   \   \
           //_^_/     \/_ //     |    \    \
        ( //) |        \///      |     \     \
      ( / /) _|_ /   )  //       |      \     _\
    ( // /) '/,_ _ _/  ( ; -.    |    _ _\.-~        .-~~~^-.
  (( / / )) ,-{        _      `-.|.-~-.           .~         `.
 (( // / ))  '/\      /                 ~-. _ .-~      .-~^-.  \
 (( /// ))      `.   {            }                   /      \  \
  (( / ))     .----~-.\        \-'                 .~         \  `. \^-.
             ///.----..>        \             _ -~             `.  ^-`  ^-_
               ///-._ _ _ _ _ _ _}^ - - - - ~                     ~-- ,.-~

\Cowsayphp\Farm\Tux::class, (*9)

< Tux present! >
   \
    \
        .--.
       |o_o |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/

Deprecated use

This will be deprecated in future versions. But still works., (*10)

``` php use Cowsayphp\Cow;, (*11)

echo ', (*12)

'.Cow::say("Ohmg I'm a cow!").'

';, (*13)


## Testing ``` bash $ ./bin/phpunit

Contributing

Please see CONTRIBUTING for details., (*14)

Credits

License

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

The Versions

03/03 2017

dev-master

9999999-dev https://github.com/alrik11es/cowsayphp

Cowsay port in PHP

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

cowsay

03/03 2017

dev-rooster

dev-rooster https://github.com/alrik11es/cowsayphp

Cowsay port in PHP

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

cowsay

02/03 2017

dev-equal_length

dev-equal_length https://github.com/alrik11es/cowsayphp

Cowsay port in PHP

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

cowsay

25/08 2016

1.2.0

1.2.0.0 https://github.com/alrik11es/cowsayphp

Cowsay port in PHP

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

cowsay

30/11 2015

1.0.1

1.0.1.0 https://github.com/alrik11es/cowsayphp

Cowsay port in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

cowsay

14/02 2015

1.0.0

1.0.0.0 https://github.com/alrik11es/cowsayphp

Cowsay port in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

league cowsay