PHP code example of suifeng412 / autoload-tool
1. Go to this page and download the library: Download suifeng412/autoload-tool library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
suifeng412 / autoload-tool example snippets
// 设置配置
define('FORCE_GET_DIRS', 'true'); // 设置每次强制遍历目录
define('FUNCTION_DIR', 'functions');
// 在index.php入口文件中引入autoload.php文件,在Initialization::init(__DIR__)方法