System requirements
Before installing C.A.R. 911, ensure your system meets the following requirements:PHP version
- PHP 7.3 or higher (PHP 8.0+ supported)
- Required PHP extensions:
- OpenSSL
- PDO
- Mbstring
- Tokenizer
- XML
- Ctype
- JSON
- BCMath
Database
- MySQL 5.7+ or MariaDB 10.3+
Package manager
- Composer (latest stable version recommended)
C.A.R. 911 is built on Laravel 8.75, which requires PHP 7.3 as the minimum version. For optimal performance and security, we recommend using PHP 8.0 or higher.
Installation steps
Follow these steps to install C.A.R. 911 on your server:Install dependencies
Navigate to the project directory and install all PHP dependencies using Composer:This will install the Laravel framework along with required packages including:
- Laravel Sanctum for API authentication
- Spatie Laravel Permission for role management
- Maatwebsite Excel for report exports
- PHPWord for document generation
Create environment file
Copy the example environment file to create your configuration:This creates a new
.env file where you’ll configure your application settings.Generate application key
Generate a unique encryption key for your application:This command automatically updates your
.env file with a secure APP_KEY value.Verify installation
After completing the installation steps, verify that C.A.R. 911 is working correctly:Start the development server
http://localhost:8000.
Check the database connection
Verify that your database is properly configured:Key packages installed
C.A.R. 911 includes several important packages that power its functionality:Troubleshooting
Composer memory limit
If you encounter memory limit errors duringcomposer install, increase PHP’s memory limit:
Permission errors
Ensure the web server has write permissions to storage and cache directories:Migration failures
If migrations fail, check that:- Your database credentials are correct in
.env - The database exists and is accessible
- Your database user has CREATE, ALTER, and DROP privileges