Skip to main content
MagicBook reads its settings from the .env file in the project root. Change the file, then clear the configuration cache on the server, or ask your host to restart PHP, so the new values load.
Never change APP_KEY after install. MagicBook encrypts the AI keys and other secrets with it. A new key makes the saved keys unreadable, and you must enter them again.

Application

Database

Queue and cache

Media and storage

Mail

AI requests

The defaults suit most providers. Raise the timeouts only if the provider often answers slowly, because a longer wait keeps the customer waiting.

Demo content

DEMO_EMAIL sets the account that receives the demo books. See Quickstart.

Logging

LOG_CHANNEL, LOG_LEVEL and LOG_DAILY_DAYS set where errors are written and how long they are kept. The log file is storage/logs/laravel.log.