From f0a3bf43e84b005c69e27740c68b85cfb4edddee Mon Sep 17 00:00:00 2001 From: Amanmyrat Date: Fri, 4 Aug 2023 11:57:21 +0500 Subject: [PATCH] Minor fixes --- composer.json | 1 + config/database.php | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 98e408d..cfa227e 100644 --- a/composer.json +++ b/composer.json @@ -66,6 +66,7 @@ ] }, "config": { + "platform-check": false, "preferred-install": "dist", "allow-plugins": { "composer/installers": true diff --git a/config/database.php b/config/database.php index 681741d..78500a8 100644 --- a/config/database.php +++ b/config/database.php @@ -53,16 +53,16 @@ return [ ], 'mysql' => [ - 'driver' => 'mysql', - 'engine' => 'InnoDB', - 'host' => 'localhost', - 'port' => 3306, - 'database' => 'berkarar', - 'username' => 'shohrat', - 'password' => 'Qazwsx12**', - 'charset' => 'utf8mb4', - 'collation' => 'utf8mb4_unicode_ci', - 'prefix' => '', + 'driver' => 'mysql', + 'engine' => 'InnoDB', + 'host' => env('DB_HOST', 'localhost'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'berkarar'), + 'username' => env('DB_USERNAME', ''), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_unicode_ci', + 'prefix' => '', 'varcharmax' => 191, ],