Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/RigbySawGame/ieeEdu_Wen/llms.txt

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

IEE Edu is configured entirely through a .env file at the project root. Start by copying the provided example file and filling in the values appropriate for your environment — whether local development, staging, or production. This page documents every variable available in .env.example, grouped by concern.
cp .env.example .env
php artisan key:generate

Application

These variables control the identity, runtime mode, and base URL of the application.
VariableDefaultDescription
APP_NAMELaravelApplication name shown in emails and the browser title bar.
APP_ENVlocalRuntime environment: local, staging, or production.
APP_KEY(empty)32-character encryption key. Generate with php artisan key:generate.
APP_DEBUGtrueShow detailed error pages. Must be false in production.
APP_URLhttp://localhostCanonical base URL used to generate links in emails and redirects.
APP_LOCALEenDefault locale for translations and date formatting.
APP_FALLBACK_LOCALEenLocale used when a translation key is missing from the active locale.
APP_FAKER_LOCALEen_USLocale used by Faker when seeding the database.
APP_MAINTENANCE_DRIVERfileHow maintenance mode state is stored: file or database.
PHP_CLI_SERVER_WORKERS4Number of workers for the built-in PHP development server.
BCRYPT_ROUNDS12Cost factor for bcrypt password hashing. Increase for stronger hashes.
Always set APP_DEBUG=false in production. With debug mode enabled, exception stack traces — including environment variables and database credentials — can be exposed to end users in error pages.

Logging

VariableDefaultDescription
LOG_CHANNELstackThe default log channel. stack allows multiple channels simultaneously.
LOG_STACKsingleChannels to combine when LOG_CHANNEL=stack.
LOG_DEPRECATIONS_CHANNELnullWhere to send PHP/Laravel deprecation warnings.
LOG_LEVELdebugMinimum severity to log: debug, info, warning, error, critical.

Database

IEE Edu uses Eloquent ORM. The connection type and credentials are set here.
VariableDefaultDescription
DB_CONNECTIONsqliteDatabase driver: sqlite, mysql, pgsql, or sqlsrv.
DB_HOST127.0.0.1Hostname of the database server (MySQL/Postgres only).
DB_PORT3306Port for the database server. MySQL default is 3306.
DB_DATABASElaravelName of the database (or path to the .sqlite file).
DB_USERNAMErootDatabase user with read/write access.
DB_PASSWORD(empty)Password for the database user.
DB_CONNECTION defaults to sqlite for zero-configuration local development — no database server is required. For production, switch to mysql (or pgsql) and uncomment the DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, and DB_PASSWORD lines in your .env file.

Session & Cache

VariableDefaultDescription
SESSION_DRIVERdatabaseWhere sessions are stored: database, file, cookie, redis.
SESSION_LIFETIME120Session expiration time in minutes of inactivity.
SESSION_ENCRYPTfalseEncrypt session data at rest. Set true for added security.
SESSION_PATH/The cookie path that applies to the session.
SESSION_DOMAINnullThe domain the session cookie is available on.
CACHE_STOREdatabaseCache driver: database, file, redis, array.
QUEUE_CONNECTIONdatabaseWhere jobs are queued: database, redis, sync.
BROADCAST_CONNECTIONlogBroadcasting driver used for real-time events.

Redis

VariableDefaultDescription
REDIS_CLIENTphpredisPHP Redis client library: phpredis or predis.
REDIS_HOST127.0.0.1Hostname of the Redis server.
REDIS_PASSWORDnullRedis authentication password, or null if none.
REDIS_PORT6379Port the Redis server listens on.

Mail

IEE Edu sends email notifications for course enrollment, payment approval, and email verification via MustVerifyEmail. Configure your mail transport here.
VariableDefaultDescription
MAIL_MAILERlogMail transport: log (dev), smtp, ses, mailgun, postmark.
MAIL_SCHEMEnullTransport encryption scheme: tls, ssl, or null.
MAIL_HOST127.0.0.1SMTP server hostname.
MAIL_PORT2525SMTP server port. Common values: 587 (TLS), 465 (SSL), 25.
MAIL_USERNAMEnullSMTP authentication username.
MAIL_PASSWORDnullSMTP authentication password.
MAIL_FROM_ADDRESS[email protected]The “From” email address on all outgoing mail.
MAIL_FROM_NAME${APP_NAME}The “From” display name on all outgoing mail.
During local development, set MAIL_MAILER=log to write all emails to storage/logs/laravel.log instead of sending them. For production, use a real SMTP provider and set MAIL_MAILER=smtp along with the host, port, and credentials.

Storage

VariableDefaultDescription
FILESYSTEM_DISKlocalDefault filesystem disk: local, public, or s3.
AWS_ACCESS_KEY_ID(empty)AWS IAM access key ID for S3 storage.
AWS_SECRET_ACCESS_KEY(empty)AWS IAM secret access key for S3 storage.
AWS_DEFAULT_REGIONus-east-1AWS region where your S3 bucket resides.
AWS_BUCKET(empty)Name of the S3 bucket for file uploads.
AWS_USE_PATH_STYLE_ENDPOINTfalseUse path-style S3 URLs. Set true for MinIO or compatible services.

IEE-Specific Configuration

These variables are unique to the Instituto de Economía y Empresa platform. They control WhatsApp contact numbers used throughout the UI and the pricing for each subscription plan displayed on /planes.
IIE_WHATSAPP_SALES
string
default:"51959166911"
WhatsApp phone number (with country code) used for the sales contact button. Displayed on the /planes pricing page and in the course purchase flow. The 51 prefix is the Peru country code.
IIE_WHATSAPP_SUPPORT
string
default:"51934057867"
WhatsApp phone number (with country code) used for the student support contact button. Shown in the platform help sections and footer. The 51 prefix is the Peru country code.
IIE_PLAN_TRIMESTRAL_PRICE
integer
default:"350"
Price in local currency (PEN) for the quarterly subscription plan. Rendered directly in the /planes page pricing cards and passed to the WhatsApp order message.
IIE_PLAN_SEMESTRAL_PRICE
integer
default:"600"
Price in local currency (PEN) for the semi-annual (6-month) subscription plan. Rendered directly in the /planes page pricing cards and passed to the WhatsApp order message.
IIE_PLAN_ANUAL_PRICE
integer
default:"990"
Price in local currency (PEN) for the annual subscription plan. Rendered directly in the /planes page pricing cards and passed to the WhatsApp order message.

Education

These variables configure the quiz and assessment engine that governs course progress for students.
EDUCATION_PASSING_SCORE
integer
default:"14"
Minimum score (out of 20, following the Peruvian grading scale) a student must achieve to pass a quiz and unlock the next lesson. Students scoring below this threshold must retry the quiz.
EDUCATION_MAX_ATTEMPTS
integer
default:"3"
Maximum number of attempts a student is allowed per quiz before the quiz is locked. Once the limit is reached, the student must contact an instructor to unlock additional attempts.

Frontend

VariableDefaultDescription
VITE_APP_NAME${APP_NAME}Exposes the app name to Vue components via import.meta.env.VITE_APP_NAME. Must be prefixed with VITE_ to be accessible in the browser.

Build docs developers (and LLMs) love