Create and Manipulate Microsoft Project files in Cloud using PHP SDK

PHP SDK to Create & Manipulate Microsoft Project files. Simple SDK calls to Transform MPP documents to Primavera, HTML, PDF, TXT, CSV, Excel, images & XML formats on any platform.

  Start Free Trial
Aspose.Tasks Cloud SDK for PHP

Aspose.Tasks Cloud SDK for PHP

 
 

Get Started with MPP Files Processing

No Software download or Install required and it is easy to get started with Aspose.Tasks Cloud SDK for PHP. All you need to do is, create an account at Aspose for Cloud and get your application information. Once you have the App SID & key, you are ready to give the Aspose.Tasks Cloud SDK for PHP a try on any platform. It offers the capabilities to read Microsoft Project documents from within the applications without the need of installing Microsoft Project and you can easily manipulate and convert Microsoft Project documents hosted on cloud platforms.

It allows you to work with all aspects of a Project document as well as offers a wide range of export options allowing developers to convert Microsoft Project documents a number of industry standard formats. The SDK is also provides the facility to retrieve document properties with well-structured API calls.

 

Advanced features of Project Management SDK

 

 

Create, Edit, Update and Delete tasks

 

Convert Project documents to other formats

 

Manipulate task data

 

Manage project resources

 

Handle task links & task assignments

 

Work with Project extended attributes

Manage Project Tasks Data

Aspose.Tasks Cloud SDK for PHP can read information associated with the Project task data such as task name, ID, start date, finish date, scheduling and other parameters. These tasks may further be assigned to the resources, resulting in task assignments. The API also facilitates in reading task links and task assignment information from a project data file where it supports manipulation of Project tasks, resources, task links and task assignments data with simple REST API calls..

Add a New Task to Project File - PHP


$this->tasksApi = new TasksApi();
$body = '{
    "Index": 2,
    "PredecessorUid": 1,
    "SuccessorUid": 2
    }';
Utils::uploadFile('sample-project-2.mpp');
$result = $this->tasks->PostTaskLink('sample-project-2.mpp', $storage = null, $folder = null, $fileName = null, $body);
print_r($result);

Handle Project Resource Data

Aspose.Tasks Cloud SDK for PHP enables you to retrieve information about project resources using the resource ID or name. The API can also retrieve or delete resource assignment data for resources that have been assigned to the tasks.

Manipulate Project Calendar Information

Aspose.Tasks Cloud SDK for PHP helps you manage project calendar information with simple API calls. It is possible not only to read the project calendar information but also to add and retrieve calendar exceptions. The API also supports adding a new calendar and deleting an existing calendar from the hosted Project data file.

Add Calendar to Project - PHP


AsposeApp::$appSID = Utils::appSID;
AsposeApp::$apiKey = Utils::apiKey;
$this->tasksApi = new TasksApi();
$body = '{"Name": "TestCalender", "Uid": 0}';
Utils::uploadFile('sample-project.mpp');
$result = $this->tasksApi->PostProjectCalendar('sample-project.mpp', $fileName = null, $storage = null, $folder = null, $body);
print_r($result);

Manage Project's Extended Attributes

Extended attributes can be assigned values for each task or resource within a project file. Aspose.Tasks Cloud SDK for PHP provides the capability to read and delete extended attribute information from a Project document hosted in the cloud.

 

Support and Learning Resources