1. Go to this page and download the library: Download adamtyn/at-lumen 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/ */
use Laravel\Lumen\Application as Lumen;
final class Core extends Lumen
{
public function configure($name)
{
if (isset($this->loadedConfigurations[$name])) {
return;
}
$this->loadedConfigurations[$name] = $this->cachedConfig;
if (!$this->cachedConfig) {
$this->loadedConfigurations[$name] = true;
$path = $this->getConfigurationPath($name);
if ($path) {
$this->make('config')->set($name,
use Laravel\Lumen\Application as Lumen;
final class Core extends Lumen
{
public function __construct($basePath = null)
{
// 加载配置缓存文件
$this->loadCachedConfig();
parent::__construct($basePath);
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.