{"id":16676278,"url":"https://github.com/alrik11es/cowsayphp","last_synced_at":"2025-05-07T10:36:10.526Z","repository":{"id":27322387,"uuid":"30796786","full_name":"alrik11es/cowsayphp","owner":"alrik11es","description":"Classic cowsay PHP port","archived":false,"fork":false,"pushed_at":"2017-03-03T19:55:23.000Z","size":25,"stargazers_count":71,"open_issues_count":2,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T04:57:08.880Z","etag":null,"topics":["cowsay","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Jmtyra/Aeon-HEM-v2","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alrik11es.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-14T13:03:32.000Z","updated_at":"2025-02-18T11:29:18.000Z","dependencies_parsed_at":"2022-08-17T17:55:34.854Z","dependency_job_id":null,"html_url":"https://github.com/alrik11es/cowsayphp","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrik11es%2Fcowsayphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrik11es%2Fcowsayphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrik11es%2Fcowsayphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrik11es%2Fcowsayphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alrik11es","download_url":"https://codeload.github.com/alrik11es/cowsayphp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252860561,"owners_count":21815536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cowsay","php"],"created_at":"2024-10-12T13:09:57.000Z","updated_at":"2025-05-07T10:36:10.506Z","avatar_url":"https://github.com/alrik11es.png","language":"PHP","readme":"# cowsayphp\n\n[![Latest Version](https://img.shields.io/github/release/alrik11es/cowsayphp.svg?style=flat-square)](https://github.com/alrik11es/cowsayphp/releases)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Build Status](https://img.shields.io/travis/alrik11es/cowsayphp/master.svg?style=flat-square)](https://travis-ci.org/alrik11es/cowsayphp)\n[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/alrik11es/cowsayphp.svg?style=flat-square)](https://scrutinizer-ci.com/g/alrik11es/cowsayphp/code-structure)\n[![Quality Score](https://img.shields.io/scrutinizer/g/alrik11es/cowsayphp.svg?style=flat-square)](https://scrutinizer-ci.com/g/alrik11es/cowsayphp)\n[![Total Downloads](https://img.shields.io/packagist/dt/alrik11es/cowsayphp.svg?style=flat-square)](https://packagist.org/packages/alrik11es/cowsayphp)\n\nDo you remember classic linux Cowsay? Well this is a port for PHP if you want lovely cows everywhere in your terminal\napps.\n\nNow supporting more animals in the farm.\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require alrik11es/cowsayphp\n```\nRequires PHP \u003e=5.6\n\n## Using\n\n``` php\nuse Cowsayphp\\Farm;\n\n$cow = Farm::create(\\Cowsayphp\\Farm\\Cow::class);\necho '\u003cpre\u003e'.$cow-\u003esay(\"Ohmg I'm a cow!\").'\u003c/pre\u003e';\n```\n\nThe result:\n    \n    \u003c Ohmg I'm a cow! \u003e\n            \\   ^__^\n             \\  (oo)\\_______\n                (__)\\       )\\/\\\n                    ||----w |\n                    ||     ||\n    \n### Other animals\n\n_\\Cowsayphp\\Farm\\Whale::class_\n\n    \u003c hello I'm a whale! \u003e\n        \\\n         \\            ##         .\n                ## ## ##        ==\n             ## ## ## ## ##    ===\n         /\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\\___/ ===\n    ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~\n         \\______ o           __/\n          \\    \\         __/\n           \\____\\_______/\n\n_\\Cowsayphp\\Farm\\Dragon::class_\n\n    \u003c Dragon! \u003e\n          \\                    / \\  //\\\n           \\    |\\___/|      /   \\//  \\\\\n                /0  0  \\__  /    //  | \\ \\\n               /     /  \\/_/    //   |  \\  \\\n               @_^_@'/   \\/_   //    |   \\   \\\n               //_^_/     \\/_ //     |    \\    \\\n            ( //) |        \\///      |     \\     \\\n          ( / /) _|_ /   )  //       |      \\     _\\\n        ( // /) '/,_ _ _/  ( ; -.    |    _ _\\.-~        .-~~~^-.\n      (( / / )) ,-{        _      `-.|.-~-.           .~         `.\n     (( // / ))  '/\\      /                 ~-. _ .-~      .-~^-.  \\\n     (( /// ))      `.   {            }                   /      \\  \\\n      (( / ))     .----~-.\\        \\-'                 .~         \\  `. \\^-.\n                 ///.----..\u003e        \\             _ -~             `.  ^-`  ^-_\n                   ///-._ _ _ _ _ _ _}^ - - - - ~                     ~-- ,.-~\n                 \n_\\Cowsayphp\\Farm\\Tux::class_\n    \n    \u003c Tux present! \u003e\n       \\\n        \\\n            .--.\n           |o_o |\n           |:_/ |\n          //   \\ \\\n         (|     | )\n        /'\\_   _/`\\\n        \\___)=(___/\n                                                        \n    \n## Deprecated use\n\nThis will be deprecated in future versions. But still works.\n\n``` php\nuse Cowsayphp\\Cow;\n\necho '\u003cpre\u003e'.Cow::say(\"Ohmg I'm a cow!\").'\u003c/pre\u003e';\n```\n\n## Testing\n\n``` bash\n$ ./bin/phpunit\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Credits\n\n- [Marcos Sigueros Fernández](https://github.com/alrik11es)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falrik11es%2Fcowsayphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falrik11es%2Fcowsayphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falrik11es%2Fcowsayphp/lists"}