Yii 1.1.14与Composer自动加载

I have my composer.json file at the root, which looks like this (after following this guide):

{
  "repositories": [{
    "type":"composer",
    "url": "http://packages.phundament.com"
  }],

  "require": {
    "php": ">=5.3.2",
    "yiisoft/yii": "1.1.*",
    "yiiext/migrate-command": "0.7.2",
    "thyseus/yii-user-management": "0.8"
  },

  "autoload": {
    "psr-0": { "config": "./" }
  },

  "scripts": {
      "pre-install-cmd": "config\\ComposerCallback::preInstall",
      "post-install-cmd": "config\\ComposerCallback::postInstall",
      "pre-update-cmd": "config\\ComposerCallback::preUpdate",
      "post-update-cmd": "config\\ComposerCallback::postUpdate",
      "post-package-install": ["config\\ComposerCallback::postPackageInstall"],
      "post-package-update": ["config\\ComposerCallback::postPackageUpdate"]
  }
}

My config/console.php also includes the following:

'params' => array(
    'composer.callbacks' => array(
        // args for Yii command runner
        'yiisoft/yii-install' => array('yiic', 'webapp', dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'),
        'post-update' => array('yiic', 'migrate'),
        'post-install' => array('yiic', 'migrate'),
    ),
),

I'm getting the following error, however, when I try to run composer install:

Class config\ComposerCallback is not autoloadable, can not call pre-update-cmd script

I realize it's probably something small that I've forgotten, any help would be appreciated!

Looks like you are using an early version of Phundament, like this one.

Your composer callbacks are trying to call the methods in the ComposerCallback class, which - in your case - should be in <project-folder>/config.

You can use the file from above and place it there or grab a more recent version from phundament/app and place the file into <project-folder>/src/Phundament and update your root composer.json autoloading section to match the new file location.