2017 © Pedro Peláez
 

library instantiator

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

image

doctrine/instantiator

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

  • Monday, March 5, 2018
  • by Ocramius
  • Repository
  • 24 Watchers
  • 3768 Stars
  • 86,965,879 Installations
  • PHP
  • 241 Dependents
  • 1 Suggesters
  • 33 Forks
  • 6 Open issues
  • 11 Versions
  • 9 % Grown

The README.md

Doctrine Instantiator

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

Build Status Code Coverage Dependency Status, (*2)

Latest Stable Version Latest Unstable Version, (*3)

Installation

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

composer require doctrine/instantiator

Usage

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

$instantiator = new \Doctrine\Instantiator\Instantiator();

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

Contributing

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

Credits

This library was migrated from ocramius/instantiator, which has been donated to the doctrine organization, and which is now deprecated in favour of this package., (*7)

The Versions

05/03 2018

dev-master

9999999-dev https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

constructor instantiate

22/07 2017

1.1.0

1.1.0.0 https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

constructor instantiate

04/12 2015

dev-cleanup/old-php-versions-compat-cleanup

dev-cleanup/old-php-versions-compat-cleanup https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php ~5.6|~7.0

 

The Development Requires

constructor instantiate

14/06 2015

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php >=5.3,<8.0-DEV

 

The Development Requires

constructor instantiate

14/06 2015

1.0.5

1.0.5.0 https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php >=5.3,<8.0-DEV

 

The Development Requires

constructor instantiate

13/10 2014

1.0.4

1.0.4.0 https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php >=5.3,<8.0-DEV

 

The Development Requires

constructor instantiate

07/10 2014

dev-hotfix/#9-fragile-internal-classes-check

dev-hotfix/#9-fragile-internal-classes-check https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

constructor instantiate

05/10 2014

1.0.3

1.0.3.0 https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

constructor instantiate

25/08 2014

1.0.2

1.0.2.0 https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

constructor instantiate

14/08 2014

1.0.1

1.0.1.0 https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

constructor instantiate

13/08 2014

1.0.0

1.0.0.0 https://github.com/doctrine/instantiator

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

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

constructor instantiate