From 4e664b6545d217802dbc8fd9bff1f72363ddf2f4 Mon Sep 17 00:00:00 2001 From: Setiawan Hu Date: Sun, 11 Oct 2020 23:34:58 +0700 Subject: [PATCH 1/3] Adding default value for Telegram api credential config value --- config/telegram.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/telegram.php b/config/telegram.php index 2a93d15..173fd31 100644 --- a/config/telegram.php +++ b/config/telegram.php @@ -55,9 +55,9 @@ return [ 'app_info' => [ - 'api_id' => env('MP_TELEGRAM_API_ID'), + 'api_id' => env('MP_TELEGRAM_API_ID', ''), - 'api_hash' => env('MP_TELEGRAM_API_HASH'), + 'api_hash' => env('MP_TELEGRAM_API_HASH', ''), ], ], From 5316c3922e7164d6aee2cd9e8904cb892453cf19 Mon Sep 17 00:00:00 2001 From: Setiawan Hu Date: Sun, 11 Oct 2020 23:35:11 +0700 Subject: [PATCH 2/3] Adding support for laravel 8 --- composer.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index d9e94bb..c528035 100644 --- a/composer.json +++ b/composer.json @@ -9,12 +9,17 @@ "email": "setiawanhu@gmail.com" } ], + "keywords": [ + "laravel", + "telegram", + "madeline-proto" + ], "require": { "php": "^7.4", "danog/madelineproto": "^5.1", - "illuminate/support": "^7.0", - "illuminate/console": "^7.0", - "illuminate/database": "^7.0" + "illuminate/support": "^7.0|^8.0", + "illuminate/console": "^7.0|^8.0", + "illuminate/database": "^7.0|^8.0" }, "autoload": { "psr-4": { From 4333fa58ef318448fbf5880c452703fc102ec787 Mon Sep 17 00:00:00 2001 From: Setiawan Hu Date: Sun, 11 Oct 2020 23:35:17 +0700 Subject: [PATCH 3/3] Adding .gitignore file --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..660fc15 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/vendor +composer.lock +/phpunit.xml +.phpunit.result.cache