🔧 add env config
This commit is contained in:
parent
6a35825f09
commit
ab536a2f1f
28
.env.template.php
Normal file
28
.env.template.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
declare(strict_types = 1);
|
||||||
|
namespace Kimendisch\Sbgg_Jetzt;
|
||||||
|
|
||||||
|
class Env {
|
||||||
|
/**
|
||||||
|
* Configuration for sending mail.
|
||||||
|
*/
|
||||||
|
const MAIL = [
|
||||||
|
// SMTP SERVER //
|
||||||
|
// smtp server address
|
||||||
|
"host" => "smtp.example.com",
|
||||||
|
|
||||||
|
// smtp port
|
||||||
|
"port" => 587,
|
||||||
|
|
||||||
|
// smtp username
|
||||||
|
"username" => "noreply@example.com",
|
||||||
|
|
||||||
|
// smtp password
|
||||||
|
"password" => "topsecret123",
|
||||||
|
|
||||||
|
// whether starttls should be used
|
||||||
|
// (ssl/tls will be used otherwise)
|
||||||
|
"starttls" => true
|
||||||
|
];
|
||||||
|
}
|
||||||
|
?>
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
|||||||
meta.local.php
|
meta.local.php
|
||||||
init.local.php
|
init.local.php
|
||||||
|
|
||||||
|
/.env.php
|
||||||
|
Loading…
Reference in New Issue
Block a user