定制 aspose/tasks-sdk-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

aspose/tasks-sdk-php

Composer 安装命令:

composer require aspose/tasks-sdk-php

包简介

This repository contains Aspose.Tasks Cloud SDK for PHP source code. Aspose.Tasks Cloud SDK for PHP lets PHP developers manipulate or convert Microsoft Project documents hosted on a cloud platform quickly and easily.

README 文档

README

Packagist Version Packagist Downloads Packagist PHP Version Support GitHub license GitHub last commit

Manipulate MS Project Files in PHP via Cloud REST API

Aspose.Tasks for Cloud offers the ability to manipulate and convert Microsoft Project MPT, MPP, MPX & Oracle Primavera XER, XML, and PrimaveraP6XML files in PHP. Aspose.Tasks Cloud SDK for PHP wraps the REST API to make it easier for the developers to integrate MS Project Task Management features in their own cloud-based PHP applications on Linux, MacOS, Windows or Android.

Feel free to explore the Developer's Guide & API Reference to know all about Aspose.Tasks Cloud API.

MS Project Processing Features

  • Add project assignments or delete project assignments along with their references.
  • Get the project's outline codes by index & get links to all project tasks.
  • Import projects from Primavera DB formats or from databases with the specified connection string.
  • Get UIDs of all projects contained in the file & fetch the required assignment with the project based on UID.
  • Manage project tasks, resource data, calendars & Work Breakdown Structure (WBS).
  • Perform risk analysis using Monte Carlo simulation and create a report.
  • Create and set project document properties & fetch all or specific existing properties.
  • Get a project's extended attributes, time-scaled data, or recurring info of a specific task.
  • Reschedule project tasks, dates, and other settings.
  • Calculate slacks & recalculate project completion or incompletion work.
  • Fetch a project document in the desired format.
  • Delete project task with its related references & rebuild the task tree.
  • Convert project documents to other formats.
  • Manipulate task data.
  • Manage project's resources.
  • Handle task links & task assignments.
  • Work with project's extended attributes.
  • Read Microsoft Project’s document properties such as start and finish date, tasks scheduling types and so on.
  • Read Microsoft Project’s Calendars and Calendar Exceptions information.

Read & Write Project Data

Microsoft Project MPP, XML, MPT Primavera MPX

Save Project Data As

XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG

Enhancements in Version 26.6

  • Added new property to TaskItem.

Enhancements in Version 25.11

  • Enhanced reading data from Primavera-specific task's properties.

Enhancements in Version 25.8

  • Added new ability to level tasks for the resources.
  • Provided the ability to clear leveling delay that was previously added to the tasks during resource leveling.

Enhancements in Version 25.4

  • Enhanced Task model.
  • Enhanced TaskLink model.
  • Enhanced ProjectRecalculationResult model.

Enhancements in Version 24.11

  • Enhanced reading data from Primavera-specific task's properties.

Enhancements in Version 24.4

  • Added new ability to get views information.
  • Possibility to modify table text styles for Gantt Chart views.

Enhancements in Version 22.12

  • Added new ability to read Primavera-specific task's properties.
  • Provided the ability to read more document properties.

Enhancements in Version 20.11

  • Support for the batch creation of tasks (i.e. the ability to create multiple tasks in a single API call).

Enhancements in Version 20.8

  • Ability to specify the non-default path for Project Server's PWA URL.
  • Ability to modify timephasedData collection in assignments.

Enhancements in Version 20.6

  • Possibility to render comments when saving as image, HTML or PDF.
  • Option to use username and password to connect Project Online (Server) instead of auth token, incase you don't have it.
  • Ability to add assignments to your project file along with specifying its cost.
  • Quickly adding new tasks to project, when calculation mode is set to automatic.
  • Ability to add project in Microsoft Project Server.
  • Added support of reading shared resource assignments.

Get Started with Aspose.Tasks Cloud SDK for PHP

Register an account at Aspose Cloud Dashboard to get you application information. Next, either directly use the source from this repository in your project or get the package from Packagist distribution.

Install Via Composer

Aspose.Tasks Cloud SDK for PHP is available at Packagist. Run the following command to get it through Composer.

composer require aspose/tasks-sdk-php

Run Composer's autoload to start using the SDK.

require_once('vendor/autoload.php');

See composer.json for details about the referenced packages.

Convert MS Project MPP to PDF in PHP

	// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).

	$config = new Configuration();
    $config->setAppSid("MY_CLIENT_ID");
	$config->setAppKey("MY_CLIENT_SECRET");

	$api = new TasksApi(null, $config);

	// upload file to cloud
	$fullName = 'template.mpp';
	$upload_result = $api->uploadFile($Path = realpath(__DIR__ . '/../../..') . '/TestData/' . $fullName, $fullName);

	// save as pdf file
	$request = new Requests\GetReportPdfRequest($fullName, Model\ReportType::MILESTONES, self::$storageName, $folder));
	$result = $api->getReportPdf($request);

Aspose.Tasks Cloud SDKs in Popular Languages

.NET PHP Python Node.js Go
GitHub GitHub GitHub GitHub GitHub
NuGet Composer PIP NPM Go.Dev

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial

aspose/tasks-sdk-php 适用场景与选型建议

aspose/tasks-sdk-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 23 次下载、GitHub Stars 达 3, 最近一次更新时间为 2015 年 06 月 01 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「aspose」 「aspose cloud」 「Microsoft Project」 「mpp」 「ms project」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 aspose/tasks-sdk-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 aspose/tasks-sdk-php 我们能提供哪些服务?
定制开发 / 二次开发

基于 aspose/tasks-sdk-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 26
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-01