2017 © Pedro Peláez
 

library instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

image

ocramius/instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

  • Sunday, April 12, 2015
  • by Ocramius
  • Repository
  • 0 Watchers
  • 0 Stars
  • 419,250 Installations
  • 5 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Instantiator

This library provides a way of avoiding usage of constructors when instantiating PHP classes., (*1)

Deprecated in favour of doctrine/instantiator

This library has been donated to the doctrine organization and has been renamed to doctrine/instantiator. This repository/package is deprecated., (*2)

The library will still be maintained, but there won't be any new feature additions, and BC breaks will be refused, as no more future major versions are planned., (*3)

Bugs and security issues will still be fixed, and minor-, as well as patch- releases will be tagged if needed., (*4)

It is strongly suggested to use doctrine/instantiator instead., (*5)

Status

Build Status Code Coverage Scrutinizer Code Quality SensioLabsInsight Dependency Status HHVM Status, (*6)

Latest Stable Version Latest Unstable Version, (*7)

Installation

The suggested installation method is via composer:, (*8)

php composer.phar require ocramius/instantiator:1.1.*

Usage

The instantiator is able to create new instances of any class without using the constructor of the class itself:, (*9)

$instantiator = new \Instantiator\Instantiator();

$instance = $instantiator->instantiate('My\\ClassName\\Here');

Contributing

Please read the CONTRIBUTING.md contents if you wish to help out!, (*10)

The Versions

12/04 2015

dev-master

9999999-dev https://github.com/Ocramius/Instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

  Sources   Download

MIT

The Requires

 

The Development Requires

constructor instantiate

05/10 2014

1.1.4

1.1.4.0 https://github.com/Ocramius/Instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

  Sources   Download

MIT

The Requires

 

The Development Requires

constructor instantiate

25/08 2014

1.1.3

1.1.3.0 https://github.com/Ocramius/Instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

  Sources   Download

MIT

The Requires

 

The Development Requires

constructor instantiate

14/08 2014

1.1.2

1.1.2.0 https://github.com/Ocramius/Instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

  Sources   Download

MIT

The Requires

 

The Development Requires

constructor instantiate

12/08 2014

1.1.1

1.1.1.0 https://github.com/Ocramius/Instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

  Sources   Download

MIT

The Requires

 

The Development Requires

constructor instantiate

12/08 2014

1.1.0

1.1.0.0 https://github.com/Ocramius/Instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

  Sources   Download

MIT

The Requires

 

The Development Requires

constructor instantiate

15/06 2014

1.0.0

1.0.0.0 https://github.com/Ocramius/Instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

  Sources   Download

MIT

The Requires

 

The Development Requires

constructor instantiate