Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JanContrerasDev/gestor-contrasenas/llms.txt
Use this file to discover all available pages before exploring further.
Environment Variables
The Password Manager API uses environment variables defined in the.env file for configuration. Below are all available configuration options from .env.example.
Application Settings
Core application configuration:The name of your application. This is used in notifications and other user-facing messages.
The application environment. Set to
production for live deployments, local for development.Application encryption key. Generate using
php artisan key:generate. Never commit this to version control.Enable debug mode. Set to
false in production to hide error details from users.The base URL of your application. Update this to match your production domain.
Database Configuration
Database connection settings:Database driver. Supported values:
mysql, pgsql, sqlite, sqlsrvDatabase server hostname or IP address
Database server port (3306 for MySQL, 5432 for PostgreSQL)
Name of the database to connect to
Database username
Database password. Leave empty if no password is required (not recommended for production)
Logging Configuration
Control application logging behavior:Logging channel. Available channels:
stack, single, daily, slack, syslog, errorlogMinimum log level to record. Options:
debug, info, notice, warning, error, critical, alert, emergencyCache and Session
Cache and session driver configuration:Cache driver. Options:
file, redis, memcached, database, arraySession storage driver. Options:
file, cookie, database, redis, memcached, arraySession lifetime in minutes
Queue driver. Options:
sync, database, redis, sqs, beanstalkdRedis Configuration
Redis server settings (if using Redis for cache, sessions, or queues):Redis server hostname
Redis authentication password. Set to
null if no password is configuredRedis server port
Mail Configuration
Email delivery settings:Mail driver. Options:
smtp, sendmail, mailgun, ses, postmark, logSMTP server hostname
SMTP server port
Email encryption protocol. Options:
tls, ssl, or null for no encryptionDefault sender email address
Broadcasting and Queues
Real-time broadcasting configuration:Broadcasting driver. Options:
pusher, redis, log, nullDefault filesystem disk. Options:
local, public, s3AWS Configuration
Amazon Web Services settings (if using S3 for file storage):AWS credentials are only required if you’re using S3 for file storage. Leave these empty if using local storage.
Pusher Configuration
Pusher real-time messaging settings:Pusher configuration is only needed if using Pusher for real-time broadcasting features.
Configuration Files
Beyond environment variables, you can customize the application by editing configuration files in theconfig/ directory:
config/app.php- Application settings, service providers, aliasesconfig/database.php- Database connections and settingsconfig/auth.php- Authentication guards and providersconfig/sanctum.php- API authentication configurationconfig/mail.php- Email service configurationconfig/cache.php- Cache store configurationconfig/queue.php- Queue driver configuration
Caching Configuration
After modifying configuration files, clear and cache the configuration:Production Recommendations
For production deployments, ensure these settings:- Use Redis or Memcached for caching
- Configure queue workers for background jobs
- Enable HTTPS and set
SESSION_SECURE_COOKIE=true - Set appropriate
SESSION_LIFETIMEvalues - Configure proper logging with rotation