Merge pull request #6 from setiawanhu/dev

Adding support for Laravel 8
This commit is contained in:
Setiawan 2020-10-12 21:25:46 +07:00 committed by GitHub
commit 653638446e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 5 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/vendor
composer.lock
/phpunit.xml
.phpunit.result.cache

View File

@ -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": {

View File

@ -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', ''),
],
],