Installation
LibreDTE Core is distributed via Composer and requires PHP 8.5 or higher.Requirements
Before installing, ensure your system meets these requirements:Required Extensions
Verify the following PHP extensions are installed:
ext-curl: HTTP communication with SIIext-json: JSON data handlingext-mbstring: Multibyte string processingext-openssl: Digital signatures and encryptionext-soap: SOAP webservice client for SII
Composer
Install via Composer
LibreDTE Core has
minimum-stability: dev with prefer-stable: true. This allows installation of development dependencies while preferring stable versions when available.Verify Installation
After installation, verify LibreDTE Core is properly installed:Dependencies
LibreDTE Core automatically installs these key dependencies:Symfony Components
symfony/cache: Caching supportsymfony/filesystem: File operationssymfony/mailer: Email functionalitysymfony/mime: MIME type handling
Document Processing
mpdf/mpdf: PDF generationtecnickcom/tcpdf: Alternative PDF libraryleague/csv: CSV processingphpseclib/phpseclib: Cryptography
Environment Configuration
LibreDTE Core supports different environments:Global Helper Function
LibreDTE Core provides a global helper function for convenient access:Next Steps
Now that LibreDTE Core is installed:Quick Start
Create your first electronic invoice
Core Concepts
Understand the architecture and components
Troubleshooting
PHP Version Error
PHP Version Error
LibreDTE Core requires PHP 8.5+. If you see version errors:
Missing PHP Extensions
Missing PHP Extensions
Install required extensions based on your system:
Composer Memory Limit
Composer Memory Limit
If Composer runs out of memory during installation: