datomatic/laravel-fatture-in-cloud
A Laravel integration for the Fatture in Cloud API, making it easy to manage invoices, clients, products, and related business data directly from your PHP application with a clean, fluent interface.
datomatic/laravel-fatture-in-cloud is a community-built Laravel wrapper over the Fatture in Cloud (FIC) REST API v2. In practical terms it is an HTTP client abstraction with Laravel ergonomics — service provider, config file, facade, and resource-oriented methods — that saves the team from hand-rolling authentication, pagination, and endpoint plumbing. It is not an opinionated domain layer: it does not model invoicing workflows, SdI lifecycle, or compliance rules. Treat it as an accelerator for the transport tier, not as an integration strategy.
Architecture fit
InvoiceGateway interface. That is the single most valuable architectural decision here — it converts a 10-star dependency into a swappable adapter.Integration feasibility
composer require, publish config, wire OAuth2 app credentials (client ID/secret) and per-tenant tokens. The real effort is OAuth consent flow, token storage, and refresh, which the package may or may not own end-to-end.Http fake / Saloon-style mocking (whichever the package uses) makes contract tests cheap; confirm testability before committing.Technical risk
composer.json for supported Laravel/PHP ranges against our baseline (Laravel 11/12, PHP 8.2+). A narrow range can force an upgrade we do not want.Key questions
Stack fit
Http, Queue, and Cache primitives — no new infrastructure.BillingGateway interface with a small set of domain methods (issueInvoice, registerCustomer, fetchDocument, voidDocument). The package becomes one implementation behind that interface. This is non-negotiable given the maturity profile.Migration path
Compatibility
Sequencing
BillingGateway interface and error taxonomy.Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?