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.
System Requirements
Ensure your system meets the following requirements:
- PHP >= 8.0.2
- Composer
- MySQL or PostgreSQL database
- Web server (Apache, Nginx, etc.)
Install Dependencies
Install all required PHP packages using Composer:This will install:
- Laravel Framework 9.19+
- Laravel Sanctum 3.0+ (for API authentication)
- Guzzle HTTP client
- Development dependencies (PHPUnit, Laravel Pint, etc.)
Environment Configuration
Copy the example environment file and generate an application key:
The
key:generate command will set the APP_KEY value in your .env file. This key is used for encrypting data and must be set before using the application.Configure Database
Edit your Create the database if it doesn’t exist:
.env file and set your database credentials:Run Database Migrations and Create Passwords Table
Execute the migrations to create the required database tables:This will create the following tables:Or generate a Laravel migration:Then add this code to the migration file:Run the migration:
users- User accountspassword_resets- Password reset tokensfailed_jobs- Failed queue jobspersonal_access_tokens- Sanctum API tokens
Start the Development Server
Launch the Laravel development server:The API will be available at
http://localhost:8000For production deployments, configure your web server (Apache/Nginx) to serve the application instead of using the development server.
Post-Installation
After completing the installation, you should:- Configure authentication - See the Authentication guide
- Set up environment variables - See the Configuration guide
- Review security settings - Ensure
APP_DEBUG=falsein production - Configure caching - Set up Redis or Memcached for better performance
Troubleshooting
Permission Issues
If you encounter permission errors, ensure the web server has write access to these directories:Database Connection Failed
Verify your database credentials in.env and ensure the database server is running: