Tag Archives: PEAR

How to make GitHub host your PEAR channel

GitHub does probably not need an introduction, but their “user pages” might. Each user on GitHub can have their own pages by creating a repository called <user>.github.com. These pages will be accessible via, yup, you guessed it: http://<user&gt;.github.com. My username … Continue reading

Posted in PHP, Technology | Tagged , , , , | 1 Comment

How to set up your own PEAR channel

If you want to make your projects available to users as PEAR packages you will most likely want a PEAR channel. This way users can install/upgrade/remove your packages by using the pear command. There are a couple of solutions available … Continue reading

Posted in PHP, Technology | Tagged , , | 3 Comments

pcre.h: No such file or directory when installing APC (PHP extension)

After a complete reinstall of Ubuntu 10.04 on my laptop I had to recreate my development environment. Part of that included installing some extensions from PECL. When trying to install apc-3.1.2 I got the following error: /usr/include/php5/ext/pcre/php_pcre.h:29:18: error: pcre.h: No … Continue reading

Posted in PHP, Technology | Tagged , , , , , , , | 49 Comments

Enforcing a PHP coding standard using PHP_CodeSniffer – Part 2

Welcome back to this thrilling trilogy! You have arrived at part 2, and today I’m gonna show you how to use some of the many predefined sniffs included in the PHP_CodeSniffer package to make a shiny “new” coding standard! If … Continue reading

Posted in PHP, Technology | Tagged , , , , , , | 12 Comments

Enforcing a PHP coding standard using PHP_CodeSniffer – Part 1

This is the first part of a rather exciting trilogy (a thriller if you may) on how to use the PHP_CodeSniffer component from the PEAR repository to force developers to follow a set of coding standards before allowing them to … Continue reading

Posted in PHP, Technology | Tagged , , , , , , | 2 Comments