Skip to content

Commit f002a28

Browse files
First commit
0 parents  commit f002a28

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+4589
-0
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
indent_style = space
7+
indent_size = 4
8+
charset = utf-8

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
* text=auto
2+
3+
/project export-ignore
4+
/docker export-ignore
5+
/resources export-ignore
6+
.gitattributes export-ignore
7+
.gitignore export-ignore
8+
.editorconfig export-ignore
9+
docker-compose.yml export-ignore

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vendor
2+
.idea/

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
## [v0.1.0] - 2019-07-07
10+
### Added
11+
- Toolbar panel with cache statistics
12+
13+
[Unreleased]: https://github.com/PabloKowalczyk/CacheStatsBundle/compare/v0.1.0...HEAD
14+
[v0.1.0]: https://github.com/PabloKowalczyk/CacheStatsBundle/releases/tag/v0.1.0

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 https://github.com/PabloKowalczyk
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## PablokCacheStatsBundle
2+
3+
### Installation
4+
5+
```bash
6+
composer require --dev pablok/cache-stats-bundle
7+
```
8+
9+
In case you don't use Symfony Flex please add this bundle to `AppKernel.php`
10+
```php
11+
<?php
12+
// app/AppKernel.php
13+
14+
public function registerBundles()
15+
{
16+
// ...
17+
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
18+
// ...
19+
$bundles[] = new PabloK\CacheStatsBundle\PabloKCacheStatsBundle();
20+
}
21+
}
22+
```
23+
24+
### Example
25+
![Toolbar example](resources/docs/toolbar-example.png)
26+
27+
### License
28+
29+
MIT

composer.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "pablok/cache-stats-bundle",
3+
"type": "symfony-bundle",
4+
"description": "PabloK CacheStatsBundle",
5+
"keywords": [
6+
"opcache",
7+
"realpath",
8+
"bundle",
9+
"symfony",
10+
"apcu",
11+
"statistics"
12+
],
13+
"homepage": "https://github.com/PabloKowalczyk/CacheStatsBundle",
14+
"license": "MIT",
15+
"authors": [
16+
{
17+
"name": "PabloKowalczyk",
18+
"homepage": "https://github.com/PabloKowalczyk"
19+
}
20+
],
21+
"config": {
22+
"sort-packages": true,
23+
"preferred-install": "dist"
24+
},
25+
"require": {
26+
"php": "^7.2",
27+
"symfony/config": "^3.4 || ^4.2",
28+
"symfony/dependency-injection": "^3.4 || ^4.2",
29+
"symfony/http-kernel": "^3.4 || ^4.2"
30+
},
31+
"autoload": {
32+
"psr-4": {
33+
"PabloK\\CacheStatsBundle\\": "src"
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)