Download the PHP package nexo-do/aura-ecf-sdk without Composer

On this page you can find all versions of the php package nexo-do/aura-ecf-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package aura-ecf-sdk

Aura SDK — PHP

SDK oficial para emitir e-CF (facturación electrónica DGII, RD) con Aura. Sin dependencias externas (usa cURL nativo). PHP ≥ 8.0.

Instalación

Inicio rápido

El modo (test/live) sale de la API Key

Key $aura->mode() Ambiente DGII
aura_test_… test TesteCF / CerteCF
aura_live_… live eCF (producción)

Manejo de errores

El cliente reintenta automáticamente errores transitorios (429/5xx/red) en GETs y en emisiones con idempotencyKey, respetando Retry-After.

Verificar webhooks

Autenticación por sesión humana (JWT)

Además de la API Key, el SDK soporta login con email/contraseña. El accessToken se guarda en el cliente y las llamadas siguientes viajan con Authorization: Bearer:

Descargas binarias (PDF / XML)

printing, las descargas de XML del set de certificación y downloadArtifact devuelven un array ['content' => <bytes>, 'contentType' => ..., 'filename' => ..., 'status' => ...]:

API — cobertura completa

El SDK cubre el 100% de la API REST de Aura. Cada grupo es una propiedad del cliente:

Vouchers ($aura->vouchers)

issue($params, $idempotencyKey) · retrieve($id) · list($params) · refresh($id) · void($id, $params) · commercialApproval($id, $params) · voidRanges($params) (ANECF por rangos) · receive($params) (cargar e-CF de terceros)

Clients ($aura->clients)

list() · create($params) · retrieve($id) · update($id, $params) · uploadCertificate($id, $p12Base64, $password) / uploadCertificateFile($id, $path, $password) · listSequences($id) · createSequence($id, $params) · updateSequence($id, $seqId, $params) · deleteSequence($id, $seqId)

Certification ($aura->certification)

progress($clientId) · advance($clientId, $params) · updateUrls($clientId, $params) · signPostulation($clientId, $xml, $filename) / signPostulationFile(...) · runDataSet($clientId, $useOfficialSet) · runTestSet($clientId) · testSetStatus($clientId) · testSetXml($clientId, $ncf) · runApprovals($clientId) · approvalsStatus($clientId) · runSimulation($clientId) · simulationStatus($clientId) · simulationXml($clientId, $ncf) · swornDeclaration($clientId, $params) · verifyRnc($clientId, $params) · uploadArtifact(...) / uploadArtifactFile(...) · listArtifacts($clientId) · downloadArtifact($id) · parsedArtifact($id) · deleteArtifact($id)

Contingency ($aura->contingency)

activate($clientId, $params) · deactivate($clientId) · flush($clientId, $params) · pending($clientId)

DGII Queries ($aura->dgii)

directory($clientId, $rnc) · status($params) · trackIds($clientId, $ncf) · trackStatus($clientId, $trackId) · summary($params) · provinces() · municipalities($province) · districts($params)

Printing ($aura->printing)

pdf($id) · thermal($id) · pdfa($id) · getTemplate($clientId) · updateTemplate($clientId, $params)

Webhooks ($aura->webhooks)

list() · create($params) · update($id, $params) · delete($id) · deliveries($id) · rotateSecret($id) (verificación de firma entrante: Webhook::verify(...))

Notifications ($aura->notifications)

settings() · updateSettings($settings) · updatePreferences($params) · test()

Billing ($aura->billing)

usage() · checkout($params) · portal($params)

Reports ($aura->reports)

technical($params)

Retention ($aura->retention)

previewPurge() · purgeChallenge() · purge($params) · runNow()

Projects / Users / API Keys / Catálogos / Auth

Los únicos endpoints no expuestos son los de servidor-a-servidor que no invoca el integrador: la recepción pública DGII (/fe/..., llamada por terceros emisores) y el webhook inbound de Stripe (/billing/stripe/webhook, llamado por Stripe).


All versions of aura-ecf-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-curl Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nexo-do/aura-ecf-sdk contains the following files

Loading the files please wait ...