-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from YieldStudio/support-laravel-11
feat: Add support for Laravel 11
- Loading branch information
Showing
20 changed files
with
133 additions
and
81 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
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 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,10 +1,45 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
/* | ||
|-------------------------------------------------------------------------- | ||
| API Token | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Your API token from brevo.com. | ||
| see: https://app.brevo.com/settings/keys/api | ||
| | ||
*/ | ||
|
||
'key' => env('BREVO_KEY'), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Email Sender | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Email and Name used by Brevo when sending email. | ||
| This configuration is used when sending mail. | ||
| | ||
*/ | ||
|
||
'emailFrom' => [ | ||
'email' => env('MAIL_FROM_ADDRESS'), | ||
'name' => env('MAIL_FROM_NAME') | ||
'name' => env('MAIL_FROM_NAME'), | ||
], | ||
'smsFrom' => env('BREVO_SMS_SENDER') | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| SMS Sender | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Defines the name that will be used as the "from" for all outgoing text messages | ||
| This name is limited to 11 for alphanumeric characters and 15 for numeric characters. | ||
| | ||
*/ | ||
|
||
'smsFrom' => env('BREVO_SMS_SENDER'), | ||
|
||
]; |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"preset": "laravel", | ||
"rules": { | ||
"concat_space": { | ||
"spacing": "one" | ||
}, | ||
"blank_line_before_statement": true, | ||
"declare_strict_types": true | ||
} | ||
} |
Oops, something went wrong.