Tag: composer

PHP development with Docker

I’m the kind of dev that dreads configuring webservers and that rather does not have to put up with random ops stuff before being able to get work done. Docker is one of those things I’ve never looked …

EntityStore and TermStore for Wikibase/Wikidata

I’m happy to announce the public release of two new PHP libraries that provide services around Wikibase, the software behind Wikidata. They are called QueryR EntityStore and QueryR TermStore. Both these libraries provide persistence and lookup services for …

PHPCS and PHPMD: my experiences

PHPCS (PHP Code Sniffer) detects violations against a specified coding standard. PHPMD (PHP Mess Detector) is a similar tool, though with more of a focus on metrics. In this post I’ll go over how I started using them, …

MediaWiki extensions to define their MediaWiki compatibility

Over the past year support for real dependency management has been gradually added to MediaWiki and selected extensions. This support being based on the Composer software. While extensions have been able to specify their dependencies for a while, …

My adventures with autoloading in PHP

This post has as audience developers and will provide readers with insights on how to cleanly autoload classes in PHP. For a long long time, I’ve been one of those MediaWiki developers that just added classes and file …

Upgrading an extension that now uses Composer

This blog post is aimed at users of the MediaWiki software that have extensions installed, and want to upgrade one or more to a version that makes use of Composer. At present this is of particular relevance for …

Introduction to Composer for MediaWiki developers

This post aims to be a quick start guide for MediaWiki extension developers that want to get their extension to be installable via Composer. If you are not yet familiar with Composer, I recommend you have a look …

DataValues library

Last week I released the first version of the DataValues library. This blog post serves as an introduction to that library, explaining the motivations behind it, and providing a historical context. (Originally posted on November 24, 2013) A …