Download the PHP package goatandcow7/pennylane-sdk without Composer
On this page you can find all versions of the php package goatandcow7/pennylane-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download goatandcow7/pennylane-sdk
More information about goatandcow7/pennylane-sdk
Files in goatandcow7/pennylane-sdk
Package pennylane-sdk
Short Description Unofficial PHP SDK for the Pennylane API, the French accounting and invoicing platform
License MIT
Homepage https://goatandcow7.github.io/pennylane-sdk-php/
Informations about the package pennylane-sdk
pennylane-sdk (PHP)
The unofficial PHP SDK for the Pennylane API, the French accounting and invoicing platform.
🇫🇷 Version française
Documentation | API coverage: 213/213 operations
- Complete: every operation of the Company API v2 (165) and the Firm API v1 (48), audited against the official OpenAPI specs in CI.
- Typed: readonly response objects with full IDE autocompletion, tolerant to API additions; monetary amounts are strings, never floats.
- Safe for accounting: the API has no idempotency, so POST is never retried after a server error. No duplicate invoices from a network hiccup.
- Rate-limit proof: built-in client-side throttling to the official limits, plus retry-after aware retries on 429.
- Effortless pagination: foreach over a list call, the SDK fetches the pages.
Not affiliated with Pennylane SAS. Unrelated to the PennyLane quantum computing framework. There is a Python sibling SDK with the same design.
Install
PHP 8.2+. The SDK is PSR-18 based: any HTTP client works, Guzzle is the suggested default (composer require guzzlehttp/guzzle). Allow the php-http/discovery composer plugin when prompted.
Quickstart
Create an API token in Pennylane (Settings > Connectivity > Developers), then:
Accounting firms, across the whole portfolio:
French e-invoicing (2026 reform), Pennylane being an accredited Plateforme Agréée:
Complete API coverage
| API | Operations | Resources |
|---|---|---|
| Company v2 | 165/165 | customer and supplier invoices, quotes, customers, products, billing subscriptions, banking and reconciliation, journals, ledger entries, lettering, trial balance, analytics, FEC/GL/AGL exports, SEPA/GoCardless/Pro mandates, e-invoicing, changelogs, webhooks |
| Firm v1 | 48/48 | client portfolio, accounting, DMS, exports, invoicing (read), banking, analytics, changelogs |
Coverage is not a promise: scripts/check-coverage.php verifies in CI that every operation in the vendored official OpenAPI specs exists in the SDK.
Learn more
- Getting started
- Guides: authentication, pagination and filtering, errors and retries, invoicing lifecycle, e-invoicing 2026, accounting, Firm API, webhooks, OAuth apps
- API reference
- Examples
- Contributing
Using with AI coding assistants
The documentation is indexed on Context7: point your assistant at it and it gets the whole SDK reference with usage rules. The docs are also published as llms.txt / llms-full.txt, and AGENTS.md sums up the ground rules any tool should follow.
License
MIT. Build whatever you want with it.
All versions of pennylane-sdk with dependencies
ext-json Version *
php-http/discovery Version ^1.19
psr/http-client Version ^1.0
psr/http-client-implementation Version ^1.0
psr/http-factory Version ^1.0 || ^1.1
psr/http-factory-implementation Version ^1.0
psr/http-message Version ^1.1 || ^2.0