PHP Classes

File: redmine.php

Recommend this page to a friend!
  Classes of Mukhamad Ikhsan   Redmine PHP Console Tools   redmine.php   Download  
File: redmine.php
Role: Application script
Content type: text/plain
Description: Application script
Class: Redmine PHP Console Tools
Manage projects hosted in a Redmine installation
Author: By
Last change: Update of redmine.php
Date: 4 months ago
Size: 732 bytes
 

Contents

Class file image Download
<?php

require_once ('Loader/ClassMapAutoloader.php');

use
Zend\Loader\ClassMapAutoloader;
use
Symfony\Component\Console as Console;
use
Redmine\Resources as Resources;

$loader = new ClassMapAutoloader(array('autoload_classmap.php'));

$loader->register();
$console = new Console\Application();

$console->add(new Resources\IssueCreateCommand());
$console->add(new Resources\IssueListCommand());
$console->add(new Resources\IssueUpdateCommand());
$console->add(new Resources\IssueDeleteCommand());
$console->add(new Resources\IssueCategoryListCommand());
$console->add(new Resources\IssueCategoryCreateCommand());
$console->add(new Resources\ProjectListCommand());
$console->add(new Resources\UserListCommand());

$console->run();