Autoload maker
Simply run the code of the file autoloadmaker.php, an autoload.php will be create in the same directory with the file autoloadmaker.php The content in the autoload.php will be something like:
require 'some/directory/yourfile.fex';
require 'some/dir/yourfile.fex';
Modify the FILE_EX_GOES_HERE to php or something else, DIR2SCAN to the directory you would like to scan and the autoloadmaker will scan for all file that it's ex is YOUR DEFINED EX and it's in the DIR2SCAN.
ATTENTION
For example my home dir is PUBLIC_HTML and I put my autoloadmaker.php in PUBLIC_HTML/some/dir And I replace the DIR2SCAN with "../pack1/", FILE_EX_GOES_HERE with "php" and I run the script, the output will besomething like:
require '../pack1/src/somefile.php';
require '../pack1/src/somf2.php';
require '../pack1/home.php';
require '../pack1/main.php';
require '../pack1/pack.php';