Tag - PHP

PHP missing extension ext-dom

When doing composer install you may get phpunit/phpunit 4.8.26 requires ext-dom * -> the requested PHP extension dom is missing from your system.. This is caused by the php-xml extension missing. On Ubuntu, you just need to do sudo apt-get install php-xml or, if you're using PHP 7 sudo apt-get install php7.0-xml.

Read More

Code sniffer and Windows. Without PEAR.

I didn’t find much on the internet about installing Code Sniffer on Windows without PEAR so I decided to write this. If you are anything like me, you’ll have the machine you dev on as Windows (as unfortunately, most games are not supported on Linux yet) and your actual dev machine to be Linux; either through a virtualisation program like VirtualBox or you’re running something like ESXi on a dedicated server.

Read More