PHP code example of crisvegadev / facturama-php-sdk

1. Go to this page and download the library: Download crisvegadev/facturama-php-sdk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

crisvegadev / facturama-php-sdk example snippets


FACTURAMA_ENVIRONMENT=sandbox

FACTURAMA_SANDBOX_URL=https://apisandbox.facturama.mx/
FACTURAMA_SANDBOX_USERNAME=<your_username>
FACTURAMA_SANDBOX_PASSWORD=<your_password>

FACTURAMA_PRODUCTION_URL=https://api.facturama.mx/
FACTURAMA_PRODUCTION_USERNAME=<your_username>
FACTURAMA_PRODUCTION_PASSWORD=<your_password>