Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wyrihaximus/php-psr-15-cat
X-Cat: https://twitter.com/nixcraft/status/1027639812378054656
https://github.com/wyrihaximus/php-psr-15-cat
cat hacktoberfest middleware php php7 psr-15
Last synced: 3 months ago
JSON representation
X-Cat: https://twitter.com/nixcraft/status/1027639812378054656
- Host: GitHub
- URL: https://github.com/wyrihaximus/php-psr-15-cat
- Owner: WyriHaximus
- License: mit
- Created: 2018-08-09T20:46:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-05T06:00:27.000Z (about 1 year ago)
- Last Synced: 2024-10-10T16:49:43.737Z (4 months ago)
- Topics: cat, hacktoberfest, middleware, php, php7, psr-15
- Language: PHP
- Size: 213 KB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# [PSR-15](http://www.php-fig.org/psr/psr-15/) middleware that adds a cat to your headers
[![Total Downloads](https://poser.pugx.org/WyriHaximus/psr-15-cat/downloads.png)](https://packagist.org/packages/WyriHaximus/psr-15-cat/stats)
[![License](https://poser.pugx.org/WyriHaximus/psr-15-cat/license.png)](https://packagist.org/packages/wyrihaximus/psr-15-cat)### Installation ###
To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.
```
composer require wyrihaximus/psr-15-cat
```## Usage ##
```php
// Add $middleware to your stack
$middleware = new CatMiddleware();
```## Result ##
![X-Cat](result.png)
## Inspired by ##
[`nixCraft`](https://twitter.com/nixcraft/status/1027639812378054656)
## Contributing ##
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## License ##
Copyright 2018 [Cees-Jan Kiewiet](http://wyrihaximus.net/)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.