2017 © Pedro Peláez
 

library loader

Some helper functions for building a structured php scripts

image

senhung/loader

Some helper functions for building a structured php scripts

  • Tuesday, May 15, 2018
  • by senhung
  • Repository
  • 0 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP Loader

Descriptions

Some helper functions for building a structured php scripts., (*1)

Package namespace: Senhung\Loader, (*2)

Use

$ composer require senhung/loader
<?php

require_once 'vendor/autoload.php';

use Senhung\Loader\Loader;

/* Load all files under current directory */
Loader::load('.', -1);

Functions

load

Require files under a directory recursively., (*3)

Loader::load(string $directory [, int $depth [, array $priorityFiles [, array $extensions]]]): void

getAllChildClasses

Get all child classes' names of a class, (*4)

Loader::getAllChildClasses(string|object $class): array

The Versions

15/05 2018

dev-master

9999999-dev

Some helper functions for building a structured php scripts

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Senhung Wong

15/05 2018

v2.0.0

2.0.0.0

Some helper functions for building a structured php scripts

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

by Senhung Wong