Download the PHP package php_modules/include-all without Composer
On this page you can find all versions of the php package php_modules/include-all. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php_modules/include-all
More information about php_modules/include-all
Files in php_modules/include-all
Package include-all
Short Description A small and simple class to automatically include whole the directories and subdirectories files in php.
License MIT
Homepage https://github.com/php-modules/include-all
Informations about the package include-all
IncludeAll
A small and simple class to automatically include whole the directories and subdirectories files in php using retalive or absolutes paths.
This should be used to bootstrap a group of the application dependencies that should be loaded everytime in a script.
Just a great way for avoiding to use the include or require serveral times when trying to load a big number of files inside a directory.
THE OLD WAY FOR INCLUDING FILES
THE NEW WAY USING 'INCLUDE-ALL'
You can use the include-all library with and without composer.
If not using composer the library brigns an autoload file wich should be encountered inside the directory it is located.
The include-all autoload file
should be required such as the vendor/autoload.php
is... Before trying to use the library.
Without using composer autoload
Using composer autoload
HOW TO INSTALL
It is possible to get the source code from github following the url shown bellow: php-module/include-all
If using composer:
Adding it as a requirement inside the composer.json
file: