services.php
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Stripe, Mailgun, SparkPost and others. This file provides a sane
| default location for this type of information, allowing packages
| to have a conventional place to find your various credentials.
|
*/
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
],
'ses' => [
'key' => env('SES_KEY'),
'secret' => env('SES_SECRET'),
'region' => 'us-east-1',
],
'sparkpost' => [
'secret' => env('SPARKPOST_SECRET'),
],
'stripe' => [
'model' => App\User::class,
'key' => env('STRIPE_KEY'),
'secret' => env('STRIPE_SECRET'),
],
/*
|--------------------------------------------------------------------------
| 第三方服务
|--------------------------------------------------------------------------
|
| 该文件用于存储Stripe,Mailgun,SparkPost等第三方服务的凭证。
| 这个文件为这种类型的信息提供了一个理智的默认位置,
| 允许包有一个传统的地方来找到你的各种凭证。
|
|
*/
...
个人理解:这是专门用来存放第三方库配置的文件,前面三个是第三方发送邮件的配置,
stripe
是 https://stripe.com/ 这个库的配置,看起来是国外的支付第三方库。以上配置对于我们来说都没什么用。
网友评论