Official SDKs
Speed up your integration with our official SDKs that provide idiomatic interfaces for your programming language of choice.PHP SDK
The official Contazen PHP SDK provides a simple and elegant way to interact with the Contazen API from your PHP applications.Installation
Install the SDK using Composer:Quick Start
Features
Type Safety
Type Safety
The SDK provides full type hints and PHPDoc annotations for better IDE support and code completion.
Error Handling
Error Handling
Built-in exception handling with specific exception types for different error scenarios:
Pagination Support
Pagination Support
Easy pagination through large datasets:
Webhook Handling
Webhook Handling
Built-in webhook signature verification:
Available Resources
The PHP SDK provides access to all Contazen API resources:- Clients: Create, retrieve, update, delete, and list clients
- Invoices: Full invoice management including creation, sending, voiding, and PDF generation
- Products: Manage your product catalog
- Settings: Access account and company settings
Requirements
- PHP 7.4 or higher
- Composer
- ext-curl
- ext-json
Documentation & Support
GitHub Repository
View source code, report issues, and contribute
API Reference
Complete API documentation
Community SDKs
Community SDKs are maintained by the community and may not always be up to date with the latest API changes. We recommend checking their documentation and testing thoroughly before using in production.
Building Your Own SDK
If an SDK doesn’t exist for your language, you can build your own using our OpenAPI specification. Many languages have tools to generate client libraries from OpenAPI specs:- JavaScript/TypeScript: openapi-generator
- Python: openapi-python-client
- Go: oapi-codegen
- Ruby: openapi_client
- Java: openapi-generator
Example: Generating a TypeScript Client
Need Help?
If you need assistance with any SDK or have questions about integrating with the Contazen API:- Check our API documentation
- Review the authentication guide
- Contact our support team at contact@contazen.ro