Configuration Files

Prepare config files

  • duplicate config/autoload/cors.local.php.dist as config/autoload/cors.local.php

Note

if your API will be consumed by another application, make sure to configure the allowed_origins variable

  • duplicate config/autoload/local.php.dist as config/autoload/local.php

  • duplicate config/autoload/mail.local.php.dist as config/autoload/mail.local.php

Note

if your API will send emails, make sure to fill in SMTP connection params

  • optional: in order to run/create tests, duplicate config/autoload/local.test.php.dist as config/autoload/local.test.php

Note

this creates a new in-memory database that your tests will run on.