Skip to content

A Symfony bundle that kills memory leaks using lasers and ninja stars.

License

Notifications You must be signed in to change notification settings

AndrewCarterUK/NoMoreLeaksBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoMoreLeaksBundle - No More Memory Leaks

Latest Stable Version Build Status Scrutinizer Code Quality Code Coverage License Total Downloads

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.

By AndrewCarterUK (Twitter)

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

About

A Symfony bundle that kills memory leaks using lasers and ninja stars.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages