2017 © Pedro Peláez
 

library symfony-di-loader

Simple loader for symfony DI container

image

alexpts/symfony-di-loader

Simple loader for symfony DI container

  • Tuesday, May 1, 2018
  • by alexpts
  • Repository
  • 1 Watchers
  • 0 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 19 % Grown

The README.md

Symfony DI component loader

phpunit codecov, (*1)

Simple loader for symfony container DependencyInjection component, (*2)

Install

composer require alexpts/symfony-di-loader, (*3)

Demo

<?php
use PTS\SymfonyDiLoader\LoaderContainer;

$configs = [
    __DIR__ . './container.yml',
    __DIR__ . './container.xml',
    __DIR__ . './container.php'
];
$fileCache = __DIR__ . '/var/di.php';
$isDebug = true;

$loader = new LoaderContainer;
$container = $loader->getContainer($configs, $fileCache, $isDebug);

Custom container extension:, (*4)

use PTS\SymfonyDiLoader\LoaderContainer;

$loader = new LoaderContainer;
$builder = $loader->getBuilder();
$builder->addExtension($someContainerExtension);
$container = $loader->getContainer($configs, $fileCache);

The Versions

01/05 2018

dev-master

9999999-dev https://github.com/alexpts/php-symfony-di-loader

Simple loader for symfony DI container

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar alexpts

symfony factory di

01/05 2018

1.0.2

1.0.2.0 https://github.com/alexpts/php-symfony-di-loader

Simple loader for symfony DI container

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar alexpts

symfony factory di

31/03 2018

1.0.1

1.0.1.0 https://github.com/alexpts/php-symfony-di-loader

Simple loader for symfony DI container

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar alexpts

symfony factory di

31/03 2018

1.0.0

1.0.0.0 https://github.com/alexpts/php-symfony-di-loader

Simple loader for symfony DI container

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar alexpts

symfony factory di