2017 © Pedro Peláez
 

library scontainer

Simple Container for PHP & Zend Expressive

image

gabidj/scontainer

Simple Container for PHP & Zend Expressive

  • Monday, April 4, 2016
  • by gabidj
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SContainer

Simple Container for Expressive, (*1)

Simple Container created for understanding (basic) Container mechanism in Zend Expressive, (*2)

Installation:, (*3)

composer require 'gabidj/scontainer'

Security notice:

  • SContainer was made to help understanding how Container/Service Management works in Zend Expressive
  • You should NOT use SContainer in production environment

Usage

  • Container configuration:
<?php

use GabiDJ\Expressive\SContainer\SContainer as Container ;

// Load configuration
$config = require __DIR__ . '/config.php';

// Build container with given config
$container = new Container($config);

return $container;

Your /config/container.php file should reflect these settings in order to work with SContainer, (*4)

Support

  • Ask me anything about this project: twitter.com/GabiSuciu
  • For support or suggestions visit: www.dotkernel.com/blog/

The Versions

04/04 2016

dev-master

9999999-dev

Simple Container for PHP & Zend Expressive

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Gabi DJ

routing router simple routing text match routing