.env file in the project root. Copy .env.example to .env and update the values for your environment.
App settings
Core application identity and runtime behaviour.Logging
Database
To use SQLite instead of MySQL, set
DB_CONNECTION=sqlite and DB_DATABASE to the absolute path of your .sqlite file, for example /absolute/path/to/database/database.sqlite. The DB_HOST, DB_PORT, DB_USERNAME, and DB_PASSWORD variables are ignored for SQLite.Session
Cache and queue
Redis
Required only whenCACHE_STORE, SESSION_DRIVER, or QUEUE_CONNECTION is set to redis.
log, which writes emails to the Laravel log file instead of sending them. This is suitable for local development.
AWS / S3
Required only whenFILESYSTEM_DISK=s3.
Memcached
Required only whenCACHE_STORE=memcached.