2017 © Pedro Peláez
 

library pulsar

Intelligent classloaders PHP 5

image

ehough/pulsar

Intelligent classloaders PHP 5

  • Thursday, December 15, 2016
  • by ehough
  • Repository
  • 1 Watchers
  • 6 Stars
  • 1,320 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 45 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

pulsar Build Status

Fork of Symfony's ClassLoader component compatible with PHP 5.2+., (*1)

Motivation

Symfony's ClassLoader component is a fantastic classloading library, but it's only compatible with PHP 5.3+. While 97% of PHP servers run PHP 5.2 or higher, 32% of all servers are still running PHP 5.2 or lower (source). It would be a shame to exempt this library from nearly half of the world's servers just because of a few version incompatibilities., (*2)

Once PHP 5.3+ adoption levels near closer to 100%, this library will be retired., (*3)

Differences from Symfony's ClassLoader component

The primary difference is naming conventions of Symfony's classes. Instead of the \Symfony\Component\ClassLoader namespace (and sub-namespaces), instead prefix the class names with ehough_pulsar and follow the PEAR naming convention., (*4)

A few examples of class naming conversions:, (*5)

\Symfony\Component\ClassLoader\ApcClassLoader        ----->    ehough_pulsar_ApcClassLoader
\Symfony\Component\ClassLoader\UniversalClassLoader  ----->    ehough_pulsar_UniversalClassLoader

How to use

Please see the Symfony documentation for general use instructions., (*6)

ComposerClassLoader

pulsar also includes a novel class for Composer-based projects, ehough_pulsar_ComposerClassLoader, which features:, (*7)

Simple to create and use. Just point it to your vendor directory:, (*8)

$classLoader = new ehough_pulsar_ComposerClassloader('/path/to/your/vendor/directory');

Releases and Versioning

Releases are synchronized with the upstream Symfony repository. e.g. ehough/pulsar v2.3.1 has merged the code from symfony/ClassLoader v2.3.1., (*9)

The Versions

15/12 2016

dev-develop

dev-develop https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0

19/06 2014

dev-master

9999999-dev https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0

19/06 2014

v2.5.0

2.5.0.0 https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0

30/04 2014

v2.4.4

2.4.4.0 https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0

07/04 2014

v2.4.3

2.4.3.0 https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0

06/02 2014

v2.4.1

2.4.1.0 https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0

04/12 2013

v2.4.0

2.4.0.0 https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0

19/08 2013

v2.3.3

2.3.3.0 https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0

17/07 2013

v2.3.0

2.3.0.0 https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0

17/07 2013

v2.3.1

2.3.1.0 https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0

17/07 2013

v2.3.2

2.3.2.0 https://github.com/ehough/pulsar

Intelligent classloaders PHP 5

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

autoloader autoload psr-0