2017 © Pedro Peláez
 

library wp-autoload

Simple autoloader that will autoload classes or traits with namespace prefix

image

frozzare/wp-autoload

Simple autoloader that will autoload classes or traits with namespace prefix

  • Tuesday, October 17, 2017
  • by fredrikforsmo
  • Repository
  • 2 Watchers
  • 12 Stars
  • 10,529 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 10 Versions
  • 3 % Grown

The README.md

WordPress Autoload

Build Status No Maintenance Intended, (*1)

Simple autoloader that will autoload classes, interfaces or traits with namespace prefix, (*2)

Install

composer require frozzare/wp-autoload

Example

Example of your main php file., (*3)

require 'vendor/autoload.php';
register_wp_autoload( 'Example\\', __DIR__ . '/src' );

Example of src/class-plugin-loader.php, (*4)

namespace Example;
class Plugin_Loader {}

Example of src/trait-crawler.php, (*5)

namespace Example;
trait Crawler {}

Example of src/interface-say.php, (*6)

namespace Example;
interface Say {}

License

MIT © Fredrik Forsmo, (*7)

The Versions

17/10 2017

dev-master

9999999-dev

Simple autoloader that will autoload classes or traits with namespace prefix

  Sources   Download

MIT

The Requires

  • php ^5.4 || ^7.0

 

The Development Requires

wordpress autoload namespace

17/10 2017

dev-frozzare-patch-1

dev-frozzare-patch-1

Simple autoloader that will autoload classes or traits with namespace prefix

  Sources   Download

MIT

The Requires

  • php ^5.4 || ^7.0

 

The Development Requires

wordpress autoload namespace

01/05 2016

v2.0.4

2.0.4.0

Simple autoloader that will autoload classes or traits with namespace prefix

  Sources   Download

MIT

The Requires

  • php ^5.4 || ^7.0

 

The Development Requires

wordpress autoload namespace

18/08 2015

v2.0.3

2.0.3.0

Simple autoloader that will autoload classes or traits with namespace prefix

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

wordpress autoload namespace

11/08 2015

v2.0.2

2.0.2.0

Simple autoloader that will autoload classes or traits with namespace prefix

  Sources   Download

MIT

The Requires

  • php >=5.4

 

wordpress autoload namespace

15/06 2015

v2.0.1

2.0.1.0

Simple autoloader that will autoload classes or traits with namespace prefix

  Sources   Download

MIT

The Requires

  • php >=5.4

 

wordpress autoload namespace

10/06 2015

v2.0.0

2.0.0.0

Simple autoloader that will autoload classes or traits with namespace prefix

  Sources   Download

MIT

The Requires

  • php >=5.4

 

wordpress autoload namespace

18/05 2015

v1.2.0

1.2.0.0

Simple autoloader that will autoload classes or traits with namespace prefix

  Sources   Download

MIT

The Requires

  • php >=5.4

 

wordpress autoload namespace

13/05 2015

v1.1.0

1.1.0.0

Simple autoloader that will autoload classes or traits with namespace prefix

  Sources   Download

MIT

The Requires

  • php >=5.4

 

wordpress autoload namespace

16/04 2015

v1.0.0

1.0.0.0

Simple PHP autoloader that will autoload `class-$class.php` classes with namespace prefix

  Sources   Download

MIT

The Requires

  • php >=5.3

 

wordpress autoload namespace