Cloudflare

A New API Binding: cloudflare-php

Sep 23, 2017Junade Ali
A New API Binding: cloudflare-php
SummaryAI, from the source post

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.

More from the Open Source Software & Community Contributions trail