generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c743074
commit 74533bc
Showing
33 changed files
with
431 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
github: :vendor_name | ||
github: defstudio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Ask a question | ||
url: https://github.com/:vendor_name/:package_name/discussions/new?category=q-a | ||
url: https://github.com/defstudio/laravel-telegraph/discussions/new?category=q-a | ||
about: Ask the community for help | ||
- name: Request a feature | ||
url: https://github.com/:vendor_name/:package_name/discussions/new?category=ideas | ||
url: https://github.com/defstudio/laravel-telegraph/discussions/new?category=ideas | ||
about: Share ideas for new features | ||
- name: Report a security issue | ||
url: https://github.com/:vendor_name/:package_name/security/policy | ||
url: https://github.com/defstudio/laravel-telegraph/security/policy | ||
about: Learn how to notify us for sensitive bugs | ||
- name: Report a bug | ||
url: https://github | ||
- name: Report a bug | ||
url: https://github.com/:vendor_name/:package_name/issues/new | ||
url: https://github.com/defstudio/laravel-telegraph/issues/new | ||
about: Report a reproducable bug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Security Policy | ||
|
||
If you discover any security related issues, please email [email protected] instead of using the issue tracker. | ||
If you discover any security related issues, please email [email protected] instead of using the issue tracker. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) :vendor_name <[email protected]> | ||
Copyright (c) defstudio <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{ | ||
"name": ":vendor_slug/:package_slug", | ||
"description": ":package_description", | ||
"name": "defstudio/laravel-telegraph", | ||
"description": "A laravel facade to interact with Telegram Bots", | ||
"keywords": [ | ||
":vendor_name", | ||
"defstudio", | ||
"laravel", | ||
":package_slug" | ||
"laravel-telegraph" | ||
], | ||
"homepage": "https://github.com/:vendor_slug/:package_slug", | ||
"homepage": "https://github.com/defstudio/laravel-telegraph", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": ":author_name", | ||
"email": "[email protected]", | ||
"name": "Fabio Ivona", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
} | ||
], | ||
|
@@ -30,34 +30,42 @@ | |
"phpstan/phpstan-deprecation-rules": "^1.0", | ||
"phpstan/phpstan-phpunit": "^1.0", | ||
"phpunit/phpunit": "^9.4", | ||
"spatie/laravel-ray": "^1.26" | ||
"spatie/laravel-ray": "^1.26", | ||
"friendsofphp/php-cs-fixer": "^v3.1" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"VendorName\\Skeleton\\": "src", | ||
"VendorName\\Skeleton\\Database\\Factories\\": "database/factories" | ||
"DefStudio\\LaravelTelegraph\\": "src", | ||
"DefStudio\\LaravelTelegraph\\Database\\Factories\\": "database/factories" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"VendorName\\Skeleton\\Tests\\": "tests" | ||
"DefStudio\\LaravelTelegraph\\Tests\\": "tests" | ||
} | ||
}, | ||
"scripts": { | ||
"phpstan": "vendor/bin/phpstan analyse", | ||
"test": "vendor/bin/pest", | ||
"test-coverage": "vendor/bin/pest coverage" | ||
"lint": "vendor/bin/php-cs-fixer fix -v", | ||
"test:lint": "vendor/bin/php-cs-fixer fix -v --dry-run", | ||
"test:types": "vendor/bin/phpstan analyse --ansi", | ||
"test:unit": "vendor/bin/pest --colors=always", | ||
"test": [ | ||
"@test:lint", | ||
"@test:types", | ||
"@test:unit" | ||
], | ||
"coverage": "@test:unit --coverage" | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"VendorName\\Skeleton\\SkeletonServiceProvider" | ||
"DefStudio\\LaravelTelegraph\\LaravelTelegraphServiceProvider" | ||
], | ||
"aliases": { | ||
"Skeleton": "VendorName\\Skeleton\\Facades\\Skeleton" | ||
"Telegraph": "DefStudio\\LaravelTelegraph\\Facades\\LaravelTelegraph" | ||
} | ||
} | ||
}, | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
use DefStudio\LaravelTelegraph\Handlers\EmptyWebhookHandler; | ||
|
||
return [ | ||
'bot_token' => env('TELEGRAM_BOT_TOKEN'), | ||
'chat_id' => env('TELEGRAM_CHAT_ID'), | ||
|
||
/* | ||
* html|markdown | ||
*/ | ||
'default_parse_mode' => 'html', | ||
|
||
'webhook_handler' => EmptyWebhookHandler::class | ||
]; |
Oops, something went wrong.