PHP code example of isadmin / multi-app
1. Go to this page and download the library: Download isadmin/multi-app 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/ */
isadmin / multi-app example snippets
return [
'think\Http' => isadmin\multiapp\core\Http::class,
'think\Route' => isadmin\multiapp\core\Route::class,
// 其他依赖注入配置
];
app/provider.php
config/app.php