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 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": { 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', ''), ], ],