Skip to content

Releases: wpup/autoload

v2.0.4

01 May 15:44

Choose a tag to compare

  • Added support for PHP 7 (thanks @johnie)

v2.0.3

18 Aug 13:56

Choose a tag to compare

  • Added support for interface autoloading.

v2.0.2

11 Aug 07:40

Choose a tag to compare

  • Fixed so _ is replaced with - for the relative class.

v2.0.1

15 Jun 09:32

Choose a tag to compare

  • Added support for files without class- and trait- prefix.

v2.0.0

10 Jun 14:19

Choose a tag to compare

  • New version with a function instead of definitions.

Example of your main php file.

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

Example of src/class-plugin-loader.php

namespace Digster;
class Plugin_Loader {}

Example of src/trait-crawler.php

namespace Digster;
trait Crawler {}

v1.2.0

18 May 11:59

Choose a tag to compare

  • Fixed so it's checks for the constants inside of spl_autoload_register.

v1.1.0

12 May 22:21

Choose a tag to compare

  • Added support for trait-$trait.php files.

v1.0.0

16 Apr 07:13

Choose a tag to compare

  • First release of WordPress Autoload-