Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
# ApcProfilerBundle

## Installation:
### Add the package to your dependencies

[ApcProfilerBundle]
git=http://github.com/stealth35/ApcProfilerBundle.git
target=bundles/Stealth35/ApcProfilerBundle
``` json
{
"require": {
"stealth35/apc-profiler-bundle": "dev-master"
...
}
}
```

### Update the vendors

php bin/vendors install
### Update the vendors

### Add the namespaces to your autoloader
php composer.phar update

``` php
<?php
// File: app/autoload.php
$loader->registerNamespaces(array(
'Stealth35' => __DIR__.'/../vendor/bundles',
// ...
));
```

### Add ApcProfilerBundle to your application kernel

Expand Down
Binary file added Resources/public/images/memory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions Resources/views/Collector/apc.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

{% block toolbar %}
{% set icon %}
<img alt="apc" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAABGdBTUEAALGPC/xhBQAAAwBQTFRFAAAAMzMzNDQ0Nzc3ODg4OTk5Ojo6PDw8Pz8/QUFBT09PUFBQV1dXWFhYcXFxdHR0dXV1dnZ2gYGBgoKChYWFhoaGioqKj4+Pp6enAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlagiWgAAAQB0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AFP3ByUAAAAJcEhZcwAARCIAAEQiAcBkgM8AAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAHhJREFUOE+lktsKgDAIQHOuVetu1///0RXMYFCzWOdF8YCImjmB/3KsA0YustzMetECmM1XWRL6eLICIPk0kAsRTXtEloio+4hsrLX1HJFMgqy01vkQkQUAqO6lreLkuxTbigMxCVJcn7h48WTMXYpvIj7YM6nSuQNRFygx1qmiTgAAAABJRU5ErkJggg==" />
APC
{% endset %}
{% set text %}
Expand All @@ -18,9 +19,7 @@

{% block menu %}
<span class="label">
<span class="icon">

</span>
<span class="icon"><img src="{{ asset('bundles/apcprofiler/images/memory.png') }}" alt="" /></span>
<strong>APC</strong>
<span class="count">
<span>{{ collector.fileinfo.num_entries }}</span>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require": {
"php": ">=5.3.2",
"ext-apc": ">= 2.0.0",
"symfony/framework-bundle": ">=2.0,<2.2"
"symfony/framework-bundle": ">=2.1,<2.4-dev"
},
"autoload": {
"psr-0": { "Stealth35\\ApcProfilerBundle": "" }
Expand Down