perf: remove unused phpdotenv

Anankke_dev
SakuraSa233 8 years ago
parent 6a09bb043c
commit 01d6496020
No known key found for this signature in database
GPG Key ID: 247CA10E382320E2

@ -1 +0,0 @@
#为了能更愉快地 debug,此文件已经作废,请各位 移步 config/config.php 进行设置,但请不要删除此文件,会导致网站500

@ -7,13 +7,6 @@ use Illuminate\Database\Capsule\Manager as Capsule;
class Boot
{
public static function loadEnv()
{
// Env
$env = new Dotenv(BASE_PATH);
$env->load();
}
public static function setDebug()
{
// debug

@ -6,7 +6,6 @@
"mailgun/mailgun-php": "^2.6.0",
"predis/predis": "~1.0",
"phpmailer/phpmailer": "~5.2",
"vlucas/phpdotenv": "~2.1",
"zeuxisoo/slim-whoops": "0.5.*",
"firebase/php-jwt": "~3.0",
"aws/aws-sdk-php": "3.*",

56
composer.lock generated

@ -3787,62 +3787,6 @@
],
"time": "2018-10-12T14:15:08+00:00"
},
{
"name": "vlucas/phpdotenv",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
"reference": "54d599d414f8cf3f6129e287acaf44b610486aa1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/54d599d414f8cf3f6129e287acaf44b610486aa1",
"reference": "54d599d414f8cf3f6129e287acaf44b610486aa1",
"shasum": "",
"mirrors": [
{
"url": "https://dl.laravel-china.org/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"php": ">=5.3.9"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35 || ^5.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.5-dev"
}
},
"autoload": {
"psr-4": {
"Dotenv\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Vance Lucas",
"email": "vance@vancelucas.com",
"homepage": "http://www.vancelucas.com"
}
],
"description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
"keywords": [
"dotenv",
"env",
"environment"
],
"time": "2018-08-22T19:34:05+00:00"
},
{
"name": "voku/anti-xss",
"version": "1.2.14",

Loading…
Cancel
Save