Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/AlexQuintana147/EducaPeru/llms.txt

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

EducaPerú is built on Laravel 12 and requires a modern PHP runtime, a Composer-managed dependency graph, a Node.js toolchain for frontend asset compilation, and a compatible database engine. Make sure every item in this page is satisfied before moving on to Installation.

Runtime Requirements

PHP 8.2 or higher

Laravel 12 requires PHP ^8.2. PHP 8.3 and 8.4 are also supported. Confirm your version with php -v.

Composer

The PHP dependency manager is required to install Laravel and all its packages. Install the latest stable release from getcomposer.org.

Node.js and npm

Node.js (LTS recommended, v18+) and npm are needed to install frontend dependencies and compile assets with Vite. Confirm with node -v and npm -v.

SQLite, MySQL, or PostgreSQL

EducaPerú defaults to SQLite for zero-config local development. For production you can switch to MySQL 8+ or PostgreSQL 13+.
SQLite is the default database driver (DB_CONNECTION=sqlite). No separate database server is required — Laravel creates the database/database.sqlite file automatically on first migration. It is a perfectly valid choice for local development and small-to-medium deployments.

PHP Extensions

Laravel 12 depends on the following PHP extensions. Most are enabled by default in standard PHP distributions, but double-check if you are using a minimal or custom build.
ExtensionPurpose
BCMathArbitrary-precision arithmetic used by encryption helpers
CtypeCharacter-type checking
cURLHTTP client for external API calls
DOMXML/HTML document parsing
FileinfoMIME-type detection for file uploads
JSONJSON encoding and decoding
MbstringMulti-byte string handling for internationalisation
OpenSSLEncryption, hashing, and HTTPS support
PCREPerl-compatible regular expressions
PDODatabase abstraction layer
TokenizerPHP source tokenising used by Artisan
XMLXML processing and parsing
Run php -m to list all currently loaded extensions on your system.

Development Tools

The following packages are installed as Composer require-dev dependencies. They are not needed in production but are essential for a smooth local development workflow.
PackageVersionPurpose
fakerphp/faker^1.23Generates realistic seed data for factories and seeders
laravel/pail^1.2.2Real-time log viewer that streams Laravel logs directly in the terminal
laravel/pint^1.24Opinionated PHP code-style fixer built on PHP-CS-Fixer
laravel/sail^1.41Docker-based local development environment for Laravel
mockery/mockery^1.6Test double library used alongside PHPUnit
nunomaduro/collision^8.6Beautiful error reporting for CLI commands and tests
phpunit/phpunit^11.5.50The primary testing framework for all unit and feature tests
The frontend build chain is powered by these Node devDependencies from package.json:
PackageVersionPurpose
vite^7.0.7Next-generation frontend build tool and dev server
laravel-vite-plugin^2.0.0Seamless Vite integration for Laravel (handles manifest, HMR)
tailwindcss^4.0.0Utility-first CSS framework
@tailwindcss/vite^4.0.0Official Tailwind CSS v4 Vite plugin
axios^1.11.0Promise-based HTTP client used in JavaScript modules
concurrently^9.0.1Runs multiple npm/Composer scripts in parallel (composer dev)

Build docs developers (and LLMs) love