-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
81 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
.PHONY: qa lint cs csf phpstan tests coverage | ||
.PHONY: install qa cs csf phpstan tests coverage-clover coverage-html | ||
|
||
all: | ||
@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$' | xargs | ||
install: | ||
composer update | ||
|
||
vendor: composer.json composer.lock | ||
composer install | ||
qa: phpstan cs | ||
|
||
qa: lint phpstan cs | ||
|
||
lint: vendor | ||
vendor/bin/linter src tests | ||
|
||
cs: vendor | ||
cs: | ||
ifdef GITHUB_ACTION | ||
vendor/bin/codesniffer -q --report=checkstyle src tests | cs2pr | ||
else | ||
vendor/bin/codesniffer src tests | ||
endif | ||
|
||
csf: vendor | ||
csf: | ||
vendor/bin/codefixer src tests | ||
|
||
phpstan: vendor | ||
phpstan: | ||
vendor/bin/phpstan analyse -l max -c phpstan.neon src | ||
|
||
tests: vendor | ||
vendor/bin/phpunit tests --colors=always | ||
tests: | ||
vendor/bin/tester -s -p php --colors 1 -C tests/cases | ||
|
||
coverage-clover: | ||
vendor/bin/tester -s -p phpdbg --colors 1 -C --coverage ./coverage.xml --coverage-src ./src tests/cases | ||
|
||
coverage: vendor | ||
phpdbg -qrr vendor/bin/phpunit tests --colors=always -c tests/coverage.xml | ||
coverage-html: | ||
vendor/bin/tester -s -p phpdbg --colors 1 -C --coverage ./coverage.html --coverage-src ./src tests/cases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,56 @@ | ||
# Contributte PSR6 Caching | ||
|
||
[PSR-6 (Caching Interface)](https://www.php-fig.org/psr/psr-6/) adapter for [Nette Caching](https://github.com/nette/caching) | ||
|
||
[![Build Status](https://img.shields.io/travis/contributte/psr6-caching.svg?style=flat-square)](https://travis-ci.org/contributte/psr6-caching) | ||
[![Code coverage](https://img.shields.io/coveralls/contributte/psr6-caching.svg?style=flat-square)](https://coveralls.io/r/contributte/psr6-caching) | ||
[![Licence](https://img.shields.io/packagist/l/contributte/psr6-caching.svg?style=flat-square)](https://packagist.org/packages/contributte/psr6-caching) | ||
[![Downloads this Month](https://img.shields.io/packagist/dm/contributte/psr6-caching.svg?style=flat-square)](https://packagist.org/packages/contributte/psr6-caching) | ||
[![Downloads total](https://img.shields.io/packagist/dt/contributte/psr6-caching.svg?style=flat-square)](https://packagist.org/packages/contributte/psr6-caching) | ||
[![Latest stable](https://img.shields.io/packagist/v/contributte/psr6-caching.svg?style=flat-square)](https://packagist.org/packages/contributte/psr6-caching) | ||
[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-brightgreen.svg?style=flat-square)](https://github.com/phpstan/phpstan) | ||
|
||
![](https://heatbadger.now.sh/github/readme/contributte/psr6-caching/) | ||
|
||
<p align=center> | ||
<a href="https://github.com/contributte/psr6-caching/actions"><img src="https://badgen.net/github/checks/contributte/psr6-caching"></a> | ||
<a href="https://coveralls.io/r/contributte/psr6-caching"><img src="https://badgen.net/coveralls/c/github/contributte/psr6-caching"></a> | ||
<a href="https://packagist.org/packages/contributte/psr6-caching"><img src="https://badgen.net/packagist/dm/contributte/psr6-caching"></a> | ||
<a href="https://packagist.org/packages/contributte/psr6-caching"><img src="https://badgen.net/packagist/v/contributte/psr6-caching"></a> | ||
</p> | ||
<p align=center> | ||
<a href="https://packagist.org/packages/contributte/psr6-caching"><img src="https://badgen.net/packagist/php/contributte/psr6-caching"></a> | ||
<a href="https://github.com/contributte/psr6-caching"><img src="https://badgen.net/github/license/contributte/psr6-caching"></a> | ||
<a href="https://bit.ly/ctteg"><img src="https://badgen.net/badge/support/gitter/cyan"></a> | ||
<a href="https://bit.ly/cttfo"><img src="https://badgen.net/badge/support/forum/yellow"></a> | ||
<a href="https://contributte.org/partners.html"><img src="https://badgen.net/badge/sponsor/donations/F96854"></a> | ||
</p> | ||
|
||
<p align=center> | ||
Website 🚀 <a href="https://contributte.org">contributte.org</a> | Contact 👨🏻💻 <a href="https://f3l1x.io">f3l1x.io</a> | Twitter 🐦 <a href="https://twitter.com/contributte">@contributte</a> | ||
</p> | ||
|
||
## Usage | ||
|
||
To install the latest version of `contributte/psr6-caching` use [Composer](https://getcomposer.com). | ||
|
||
``` | ||
composer require contributte/psr6-caching | ||
``` | ||
## Documentation | ||
|
||
- [Setup](.docs/README.md#setup) | ||
- [Usage](.docs/README.md#usage) | ||
For details on how to use this package, check out our [documentation](.docs). | ||
|
||
## Versions | ||
|
||
| State | Version | Branch | Nette | PHP | | ||
|-------------|---------|----------|-------|---------| | ||
| dev | `^0.2` | `master` | 3.0+ | `^7.2` | | ||
| stable | `^0.1` | `master` | 3.0+ | `^7.2` | | ||
|
||
## Maintainers | ||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<td align="center"> | ||
<a href="https://github.com/f3l1x"> | ||
<img width="150" height="150" src="https://avatars2.githubusercontent.com/u/538058?v=3&s=150"> | ||
</a> | ||
</br> | ||
<a href="https://github.com/f3l1x">Milan Felix Šulc</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/mabar"> | ||
<img width="150" height="150" src="https://avatars0.githubusercontent.com/u/20974277?s=150&v=4"> | ||
</a> | ||
</br> | ||
<a href="https://github.com/mabar">Marek Bartoš</a> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
| dev | `^0.3` | `master` | 3.0+ | `>=7.2` | | ||
| stable | `^0.2` | `master` | 3.0+ | `>=7.2` | | ||
|
||
## Development | ||
|
||
See [how to contribute](https://contributte.org/contributing.html) to this package. | ||
|
||
This package is currently maintaining by these authors. | ||
|
||
<a href="https://github.com/vody105"> | ||
<img width="80" height="80" src="https://avatars1.githubusercontent.com/u/22433893?v=4&s=80"> | ||
</a> | ||
|
||
<a href="https://github.com/f3l1x"> | ||
<img width="80" height="80" src="https://avatars2.githubusercontent.com/u/538058?v=4&s=80"> | ||
</a> | ||
|
||
----- | ||
|
||
Consider to [support](https://contributte.org/partners.html) **contributte** development team. | ||
Also thank you for using this package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters