github mollie/mollie-api-php v3.0.0-beta.1

one day ago

A lot of effort has gone into developing v3 of the Mollie PHP API client, focusing on modernizing the codebase, improving developer experience, and enhancing testing capabilities. All while keeping what we loved from v2.

While we don't expect significant signature changes, this is still a beta release, and we encourage feedback to refine and stabilize the final version. Your input is invaluable in making v3 the best release yet!

What's New in v3?

  • Fully Typed Requests: Introduces structured request objects for better IDE support and static analysis. Still supports array-based payloads for backward compatibility. Read more
  • Enhanced Testing Capabilities: Includes test mode configuration, API mocking, error simulations, and support for paginated collections and embedded resources. Read more
  • Improved Debugging: Provides detailed debugging with automatic redaction of sensitive data. Read more
  • Dedicated Exception Classes: Introduces specific exceptions for different error codes while maintaining compatibility with ApiException.
  • PSR-18 HTTP Client Compatibility: Supports any PSR-18 compatible HTTP client. Read more
  • Advanced Response Features: Adds resource hydration, access to raw responses, and custom resource wrappers for domain-specific transformations. Read more

Upgrading to v3

The full upgrade guide can be found here.

Install & Try It

composer require "mollie/mollie-api-php:^3.0.0-beta"

Feedback? Report issues on GitHub.

Don't miss a new mollie-api-php release

NewReleases is sending notifications on new releases.