phpoffice/phpproject 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

phpoffice/phpproject

Composer 安装命令:

composer require phpoffice/phpproject

包简介

PHPProject - Read, Create and Write Project Management documents in PHP

README 文档

README

Latest Stable Version Coverage Status Total Downloads License

PhpProject is a library written in pure PHP that provides a set of classes to write to different project management file formats, i.e. Microsoft MSProjectExchange (MPX) or GanttProject (GAN). PhpProject is an open source project licensed under the terms of LGPL version 3. PhpProject is aimed to be a high quality software product by incorporating continuous integration and unit testing. You can learn more about PhpProject by reading the Developers' Documentation and the API Documentation.

Read more about PhpProject:

Features

  • Create an in-memory project management representation
  • Set file meta data (author, title, description, etc)
  • Add resources from scratch or from existing one
  • Add tasks from scratch or from existing one
  • Output to different file formats: MSProjectExchange (.mpx), GanttProject (.gan)
  • ... and lots of other things!

Requirements

PhpProject requires the following:

Installation

It is recommended that you install the PhpProject library through composer. To do so, add the following lines to your composer.json.

{
    "require": {
       "phpoffice/phpproject": "dev-master"
    }
}

Getting started

The following is a basic usage example of the PhpProject library.

require_once 'vendor/autoload.php';

$objPHPProject = new PhpProject();

// Create resource
$objRes1 = $objPHPProject->createResource();
$objRes1->setTitle('UserBoy');

// Create a task
$objTask1 = $objPHPProject->createTask();
$objTask1->setName('Start of the project');
$objTask1->setStartDate('02-01-2012');
$objTask1->setEndDate('03-01-2012');
$objTask1->setProgress(0.5);
$objTask1->addResource($objRes1);

$oWriterGAN = IOFactory::createWriter($objPHPPowerPoint, 'GanttProject');
$oWriterGAN->save(__DIR__ . "/sample.gan");

More examples are provided in the samples folder. You can also read the Developers' Documentation and the API Documentation for more details.

Contributing

We welcome everyone to contribute to PhpProject. Below are some of the things that you can do to contribute:

统计信息

  • 总下载量: 18.11k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 210
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 207
  • Watchers: 28
  • Forks: 103
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL
  • 更新时间: 2013-12-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固