verifactuPHP is distributed as a Composer library under the package nameDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/NemonInvocash/verifactu-php/llms.txt
Use this file to discover all available pages before exploring further.
invocash/verifactu-php. There are two supported install methods: using Composer’s VCS repository feature, or cloning the repository manually. Both result in the same library being available via PSR-4 autoloading.
Requirements
Before installing, ensure your environment meets the following requirements:| Requirement | Version |
|---|---|
| PHP | ^7.4 or ^8.0 |
| Composer | Any recent version |
| guzzlehttp/guzzle | ^7.0 (installed automatically) |
Method 1: Composer VCS Repository
This is the recommended approach for most projects. Add the VCS source to yourcomposer.json, then require the package.
Add the VCS repository to composer.json
Open your
composer.json and add the repositories block pointing to the GitHub source:composer.json
Require the package
Run the following command to install the package and its dependencies:Composer will install
invocash/verifactu-php and guzzlehttp/guzzle automatically.Method 2: Clone the Repository
If you prefer to work directly with the source, clone the repository and install dependencies manually.Using the Library
Once installed, load the autoloader and import the main class:verifactuPHP\Models namespace, but you access them via the factory methods on ClienteVerifactu — you do not need to import model classes directly in normal usage.
Next Steps
Quickstart
Get to a working invoice submission in 5 steps.
Authentication
Learn how token-based authentication works under the hood.

