Open Source Software & Community Contributions
A New API Binding: cloudflare-php

A New API Binding: cloudflare-php

9/23/2017 · Junade Ali

What this post added

This post announces the release of an official PHP binding for the Cloudflare API (cloudflare-php). It highlights the design decisions made, including the exclusive use of PHP 7 for modern features like scalar type hinting and return type declarations, and the adoption of object composition and dependency injection for flexibility and maintainability. The post also details how the binding facilitates testing through adherence to PSR-7 standards and the use of mocking.

Read the original post ↗