Category Archive: PHP

PHPUnit Configuration Generator

PHPUnit is a great framework for Unit Testing in PHP. However, there is no quick way to create a configuration (by default, phpunit.xml) file.

The PHPUnit Configuration Generator project solves this problem by providing a web interface to all of the configuration options, along with …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/phpunit-configuration-generator/

Script: new-php-project: PHP Project Creator

This script generates a new PHP project in the current directory.

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/script-new-php-project-creator/

Syntax Highlighting In Posts

Curious how I syntax highlight source code for posts? pygmentize is a python utility that supports many languages, comes with a bunch of different styles, and can output the highlighted text in a variety of formats (like html/css, ANSI colors, etc.). After you’ve installed pygmentize, you …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/syntax-highlighting-in-posts/

Script: Indent Lines From Stdin

In many of my shell scripts, I call other shell scripts to accompish various tasks. Sometimes the output from these sub-script calls is useful, but I like to differentiate between the output from the sub-script and the main script. Enter indent-stdin: A basic …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/script-indent-lines-from-stdin/

Script: Automatic PHP Manual Updater

I always have the PHP chm manual open when coding, and it’s updated frequently. Instead of having to manually download a new copy every time it’s updated, I have a script that runs every night at 3 AM to …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/script-automatic-php-manual-updater/

Older posts «