Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/estebansalas94/Prueba-Soporte/llms.txt

Use this file to discover all available pages before exploring further.

All configuration is managed through the .env file in the project root. Copy .env.example to .env and update the values for your environment.
cp .env.example .env

App settings

Core application identity and runtime behaviour.
VariableDefaultDescription
APP_NAMELaravelApplication name displayed in the UI and emails.
APP_ENVlocalRuntime environment. Use production on live servers.
APP_KEY(empty)32-character encryption key. Generated by php artisan key:generate. Must not be empty.
APP_DEBUGtrueWhen true, detailed error pages are shown. Set to false in production.
APP_TIMEZONEUTCDefault timezone for dates and times throughout the application.
APP_URLhttp://localhostFull base URL used in generated links and emails.
APP_LOCALEenDefault locale for translations.
APP_FALLBACK_LOCALEenLocale used when a translation key is missing in APP_LOCALE.
APP_FAKER_LOCALEen_USLocale used by Faker when generating seed data.
APP_MAINTENANCE_DRIVERfileStorage driver for maintenance mode state (file or database).
BCRYPT_ROUNDS12Cost factor for bcrypt password hashing. Higher values are slower but more secure.
Never set APP_DEBUG=true or APP_ENV=local on a production server. Doing so exposes stack traces and environment variables to end users.

Logging

VariableDefaultDescription
LOG_CHANNELstackPrimary log channel. The stack channel aggregates multiple channels.
LOG_STACKsingleChannels included when LOG_CHANNEL=stack.
LOG_DEPRECATIONS_CHANNELnullChannel for PHP and Laravel deprecation notices.
LOG_LEVELdebugMinimum severity to log (debug, info, notice, warning, error, critical, alert, emergency).

Database

VariableDefaultDescription
DB_CONNECTIONmysqlDatabase driver. Supported values: mysql, sqlite, pgsql, sqlsrv.
DB_HOST127.0.0.1Hostname of the database server.
DB_PORT3306Port of the database server. Default MySQL port is 3306.
DB_DATABASEprueba_soporteName of the database.
DB_USERNAMErootDatabase user.
DB_PASSWORD(empty)Password for the database user.
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

VariableDefaultDescription
SESSION_DRIVERdatabaseWhere sessions are stored. Options include file, cookie, database, redis, memcached.
SESSION_LIFETIME120Session expiry in minutes of inactivity.
SESSION_ENCRYPTfalseEncrypt session data at rest when true.
SESSION_PATH/Cookie path scope.
SESSION_DOMAINnullCookie domain scope. null defaults to the current domain.

Cache and queue

VariableDefaultDescription
CACHE_STOREdatabaseDefault cache driver. Options: database, file, redis, memcached, array.
CACHE_PREFIX(empty)String prefix added to all cache keys to avoid collisions.
QUEUE_CONNECTIONdatabaseQueue driver. Options: sync, database, redis, sqs.
BROADCAST_CONNECTIONlogBroadcasting driver. log writes events to the log file.
FILESYSTEM_DISKlocalDefault filesystem disk for file storage.

Redis

Required only when CACHE_STORE, SESSION_DRIVER, or QUEUE_CONNECTION is set to redis.
VariableDefaultDescription
REDIS_CLIENTphpredisPHP Redis client library (phpredis or predis).
REDIS_HOST127.0.0.1Redis server hostname.
REDIS_PASSWORDnullRedis password. null means no authentication.
REDIS_PORT6379Redis server port.

Mail

The default mailer is log, which writes emails to the Laravel log file instead of sending them. This is suitable for local development.
VariableDefaultDescription
MAIL_MAILERlogMail transport driver. Options: smtp, sendmail, mailgun, ses, log, array.
MAIL_HOST127.0.0.1SMTP server hostname.
MAIL_PORT2525SMTP server port. Common values: 25, 465, 587, 2525.
MAIL_USERNAMEnullSMTP authentication username.
MAIL_PASSWORDnullSMTP authentication password.
MAIL_ENCRYPTIONnullSMTP encryption. Options: tls, ssl, null.
MAIL_FROM_ADDRESShello@example.comThe “from” address on all outgoing emails.
MAIL_FROM_NAME${APP_NAME}The “from” display name on all outgoing emails.
During local development, keep MAIL_MAILER=log to avoid accidental email delivery. Inspect sent emails in storage/logs/laravel.log.

AWS / S3

Required only when FILESYSTEM_DISK=s3.
VariableDefaultDescription
AWS_ACCESS_KEY_ID(empty)AWS access key ID.
AWS_SECRET_ACCESS_KEY(empty)AWS secret access key.
AWS_DEFAULT_REGIONus-east-1AWS region for the S3 bucket.
AWS_BUCKET(empty)S3 bucket name.
AWS_USE_PATH_STYLE_ENDPOINTfalseUse path-style S3 URLs. Required for some S3-compatible services such as MinIO.

Memcached

Required only when CACHE_STORE=memcached.
VariableDefaultDescription
MEMCACHED_HOST127.0.0.1Memcached server hostname.

Front-end

VariableDefaultDescription
VITE_APP_NAME${APP_NAME}Application name variable inherited from the standard Laravel skeleton.
This project uses Laravel Mix (Webpack) as its asset bundler, not Vite. The VITE_APP_NAME variable is present in .env.example because it is part of the default Laravel 11 skeleton, but it has no effect on the compiled assets. Front-end environment variables are not currently used in the build configuration (webpack.mix.js).

Build docs developers (and LLMs) love