Download the PHP package davidakis/fattura24-sdk without Composer

On this page you can find all versions of the php package davidakis/fattura24-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 fattura24-sdk

Fattura24 PHP SDK

PHP SDK tipizzato e testato per l'integrazione con le API di Fattura24.

Progettato per applicazioni personalizzate, plugin WordPress, moduli e-commerce e sistemi gestionali - senza accoppiamento a framework o piattaforme specifiche.

PHP Version Latest Version Total Downloads


v2.1 Miglioramenti

InvoiceBuilder: interfaccia elastica opzionale per codice più conciso Documentazione: aggiunta esempi di uso

v2.0 Cambiamenti di rottura

v2.0 è una riscrittura completa con oggetti di risposta tipizzati

Stai aggiornando da v1.x? Leggi UPGRADE.md


Caratteristiche

PHP 8.1+ con proprietà nominate ✅ Oggetti di risposta tipizzati

Validazione automatica dati fiscali italiani (CF, P.IVA, PEC, SDI)
Generazione XML automatica conforme alle specifiche Fattura24
Framework-agnostic — nessun accoppiamento a WordPress, Laravel, Symfony, etc.
100% copertura di test con PHPUnit
PHPStan Level 6 — analisi staticacompleta


Requisiti

Minimo
PHP 8.1
ext-curl qualsiasi
ext-dom qualsiasi
ext-simplexml qualsiasi
account Fattura24 on chiave API

Installazione

Con Composer (consigliato)

Senza Composer

  1. Scarica l'ultima versione dal repository GitHub
  2. Estrai la cartella src/ all'interno del tuo progetto
  3. Includi un semplice autoloader PSR-4 oppure utilizza il tuo autoloader esistente

Esempio di autoloader minimale:

Assicurati che le estensioni richieste (ext-curl, ext-dom, ext-simplexml) siano abilitate nel tuo php.ini.


🚀 Guida rapida


Uso di InvoiceBuilder

Documentazione

Esempi

Uso: copia config.php.example in config.php e inserisci la tua chiave API di Fattura24; per eseguire gli esempi apri una finestra di terminale e vai nella cartella examples. Poi digita (esempio):

php 01-basic-invoice.php


Caratteristiche

Oggetti di risposta tipizzati


Validazione Automatica (solo Italia)

Campi validati (solo per customerCountry = 'IT'):

Sanitizzazione automatica:


Gestione PDF flessibile

Salva su file:

Trasmissione al browser:

Link temporaneo (framework-agnostic):


Parametri nominati(PHP 8.1)


Interfaccia elastica


Esempi Completi

Fattura con IVA 0% (esente)


Fattura con sconto


Fattura con prodotti multipli e IVA miste


Test connessione


Aggiornamento da v1.x

Cambiamento di rottura: risposta tipizzata

v1.x (array):

v2.0 (oggetti tipizzati):

Migrazione

Guida completa: UPGRADE.md


Test manuale

La SDK include uno script per testare con API reale di Fattura24.

Setup

Cosa testa

Lo script esegue test end-to-end:

Importante


🧪 Sviluppo


🎯 Perché PHP 8.1+?

Questa SDK sfrutta le moderne caratteristiche di PHP per una migliore developer experience:

Feature Beneficio
Parametri nominati Codice auto-documentante, niente errori di posizione
Proprietà in sola lettura Dati immutabili, codice più sicuro
Enums Costanti sicure (DocumentType, etc.)

💖 Supporta il progetto

Se questa SDK ti fa risparmiare tempo e semplifica il tuo lavoro:

Donate with PayPal

Il tuo supporto aiuta a mantenere e migliorare questo progetto. Grazie! ❤️


Licenza

MIT License. Vedi LICENSE per dettagli.


Credits


Supporto


Avviso

Non affiliato a Fattura24.
Questa è una SDK mantenuta dalla community per le API di Fattura24.

Per supporto ufficiale Fattura24, visita www.fattura24.com


Maintenuto da Simply IT
L'informatica, semplicemente

Simply IT


All versions of fattura24-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-curl Version *
ext-simplexml 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 davidakis/fattura24-sdk contains the following files

Loading the files please wait ...