andrewcarteruk / nomoreleaksbundle
A Symfony bundle that kills memory leaks using lasers and ninja stars
Installs: 142
Dependents: 0
Suggesters: 0
Security: 0
Stars: 21
Watchers: 5
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4.0
- symfony/dependency-injection: ~2.7|~3.0
- symfony/http-kernel: ~2.7|~3.0
- symfony/yaml: ~2.7|~3.0
This package is auto-updated.
Last update: 2024-12-19 14:44:16 UTC
README
This bundle has been created to make it easier to run the Symfony framework in production mode without memory leaks. It currently targets memory leaks in Monolog and Doctrine.
For clarification, this software addresses memory leaks, not vegetable leeks. The latter tends to be less of a problem for software developers.
Install
Install with composer:
composer require andrewcarteruk/nomoreleaksbundle
Add to AppKernel.php
:
// app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new AndrewCarterUK\NoMoreLeaksBundle\NoMoreLeaksBundle(), ); // ... } // ...
Configure
no_more_leaks: ~
Which is the same as:
no_more_leaks: doctrine: ~ monolog: ~
Which is the same as:
no_more_leaks: doctrine: enabled: true managers: - default monolog: enabled: true channels: - app