ulrichsg/getopt-php — pull request #5 by christiaan (2012-03-07 15:56:13+00:00)
Title: Make the class autoloadable using the buildin Composer autoloader

Register namespace with Composer so the autoloader works.

After adding "ulrichsg/getopt-php" to your composer.json you can now do the following in your main package.

// Require the composer autloader
require_once __DIR__.'/../vendor/.composer/autoload.php';
use Ulrichsg\Getopt;
new Getopt();