laravel/config/mozout.php
2026-11-28 15:28:08 +02:00

34 lines
893 B
PHP

<?php
/*
* MozOut API.
*
* The address of the API is fixed. Only the key goes in .env:
*
* MOZOUT_API_KEY=sandbox_...
*
* Create the key on the API page of My MozOut. Start with a sandbox_ key: writes are
* simulated and nothing is charged. Then create a prod_ key with only the permissions you need.
*/
return [
'api_key' => env('MOZOUT_API_KEY'),
// Language of the error messages of the API: 'pt' or 'en'. Null: the API decides.
'language' => null,
// 'sandbox' or 'production'. When set, a key of the other mode is refused, so a
// test key never goes to production by mistake. Null: no check.
'mode' => null,
// Seconds to wait for an answer, and new attempts after 429 or 5xx.
'timeout' => 30,
'retries' => 2,
'sms' => [
// An approved sender of the account. Null: the free sender.
'sender' => null,
],
];