Installation Guide
This guide will walk you through the complete installation process for VIP2CARS, from cloning the repository to running the application locally.System Requirements
Before beginning the installation, verify that your system meets these requirements:Required Software
Ensure all required software is installed and accessible from your command line before proceeding.
- PHP >= 8.2
- Extensions: OpenSSL, PDO, Mbstring, Tokenizer, XML, Ctype, JSON, BCMath
- Composer (latest version)
- Node.js and npm (LTS version recommended)
- MySQL >= 5.7 or MariaDB >= 10.3
- Git
Optional Tools
- XAMPP - Provides Apache, MySQL, and PHP in one package (Windows/Mac/Linux)
- Laragon - Alternative to XAMPP (Windows)
- Docker - For containerized deployment
Installation Steps
Follow these steps carefully to install VIP2CARS on your system.The
composer install command may take several minutes as it downloads all PHP packages. The npm install command will download Node.js packages for asset compilation.{
"require": {
"php": "^8.2",
"laravel/framework": "^12.0",
"laravel/fortify": "^1.30",
"laravel/tinker": "^2.10.1",
"livewire/blaze": "^1.0",
"livewire/flux": "^2.9.0",
"livewire/livewire": "^4.0"
}
}
{
"dependencies": {
"@tailwindcss/vite": "^4.1.11",
"autoprefixer": "^10.4.20",
"axios": "^1.7.4",
"concurrently": "^9.0.1",
"laravel-vite-plugin": "^2.0",
"tailwindcss": "^4.0.7",
"vite": "^7.0.4"
}
}
http://localhost/phpmyadmin)vip2carsutf8mb4_unicode_ciDB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=vip2cars
DB_USERNAME=root
DB_PASSWORD=
Default XAMPP credentials:
- Username:
root - Password: (leave empty)
DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=vip2cars
# DB_USERNAME=root
# DB_PASSWORD=
users- User accountsclientes- Client informationvehiculos- Vehicle records- Additional system tables (cache, jobs, sessions)
ClienteSeeder- Sample client recordsVehiculoSeeder- Sample vehicle records linked to clients
If you need to reset the database and start fresh, use:This drops all tables and recreates them with fresh data.
CREATE TABLE clientes (
id_cliente BIGINT UNSIGNED PRIMARY KEY AUTO_INCREMENT,
nombres VARCHAR(255) NOT NULL,
apellidos VARCHAR(255) NOT NULL,
nro_documento VARCHAR(255) UNIQUE NOT NULL,
correo VARCHAR(255) UNIQUE NOT NULL,
telefono VARCHAR(255) NOT NULL,
created_at TIMESTAMP NULL,
updated_at TIMESTAMP NULL
);
CREATE TABLE vehiculos (
id_vehiculo BIGINT UNSIGNED PRIMARY KEY AUTO_INCREMENT,
placa VARCHAR(255) UNIQUE NOT NULL,
marca VARCHAR(255) NOT NULL,
modelo VARCHAR(255) NOT NULL,
anio_fabricacion INT NOT NULL,
id_cliente BIGINT UNSIGNED NOT NULL,
created_at TIMESTAMP NULL,
updated_at TIMESTAMP NULL,
FOREIGN KEY (id_cliente) REFERENCES clientes(id_cliente) ON DELETE CASCADE
);
Keep both terminals running while you develop. Vite watches for file changes and automatically recompiles your assets.
Accessing the Application
Once the servers are running, you can access VIP2CARS:- Homepage: http://127.0.0.1:8000
- Dashboard: http://127.0.0.1:8000/dashboard (requires authentication)
- Register: http://127.0.0.1:8000/register
- Login: http://127.0.0.1:8000/login
The first time you visit, you’ll need to register a user account to access the dashboard and management features.
Post-Installation Configuration
Application Name
Customize your application name in the.env file:
.env
Mail Configuration
For password resets and email verification, configure mail settings:.env
Queue Configuration
VIP2CARS uses database queues for background jobs. To process queued jobs:composer run dev.
Troubleshooting
Common Issues
Issue: “Class ‘ZipArchive’ not found” Issue: “SQLSTATE[HY000] [2002] Connection refused” Solution: Ensure MySQL/MariaDB is running. If using XAMPP, start the MySQL service from the control panel. Issue: “Vite manifest not found” Solution: Make surenpm run dev is running. If you’ve stopped it, restart with:
Clearing Caches
If you encounter unexpected behavior, clear all caches:Production Deployment
For production environments, follow these additional steps:server {
listen 80;
server_name vip2cars.local;
root /var/www/vip2cars/public;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
index index.php;
charset utf-8;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;
}
}
Next Steps
Now that VIP2CARS is installed, proceed to the Quick Start Guide to learn how to:- Register your first user account
- Navigate the dashboard
- Create and manage clients
- Add vehicles to client records
- Use the system’s core features