https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php
PHP SDK to communicate with Aspose.Tasks REST API. Create, Edit or Convert Microsoft Project & Oracle Primavera files in the Cloud.
https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php
aspose-cloud aspose-tasks calendars composer conversion microsoft-project mpp mpt mpx oracle-primavera packagist php primaverap6xml sdk tasks-cloud xer xml
Last synced: 3 months ago
JSON representation
PHP SDK to communicate with Aspose.Tasks REST API. Create, Edit or Convert Microsoft Project & Oracle Primavera files in the Cloud.
- Host: GitHub
- URL: https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php
- Owner: aspose-tasks-cloud
- License: mit
- Created: 2018-03-29T06:24:12.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-11-18T03:21:12.000Z (7 months ago)
- Last Synced: 2025-11-18T05:27:19.908Z (7 months ago)
- Topics: aspose-cloud, aspose-tasks, calendars, composer, conversion, microsoft-project, mpp, mpt, mpx, oracle-primavera, packagist, php, primaverap6xml, sdk, tasks-cloud, xer, xml
- Language: PHP
- Homepage: https://products.aspose.cloud/tasks/php
- Size: 2.18 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
    [](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php/blob/master/LICENSE) 
# 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](https://products.aspose.cloud/tasks/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](https://docs.aspose.cloud/display/taskscloud/Developer+Guide) & [API Reference](https://apireference.aspose.cloud/tasks/) 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](https://docs.aspose.cloud/tasks/convert-project-document-to-the-specified-format/) to other formats.
- Manipulate task data.
- [Manage project's resources](https://docs.aspose.cloud/tasks/working-with-resources/).
- Handle task links & task assignments.
- Work with project's extended attributes.
- [Read Microsoft Project’s document properties](https://docs.aspose.cloud/tasks/working-with-calendars/) such as start and finish date, tasks scheduling types and so on.
- [Read Microsoft Project’s Calendars](https://docs.aspose.cloud/tasks/working-with-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 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](https://dashboard.aspose.cloud/#/apps) to get you application information. Next, either directly use the source from this repository in your project or get the package from [Packagist distribution](https://packagist.org/packages/aspose/tasks-sdk-php).
### Install Via Composer
Aspose.Tasks Cloud SDK for PHP is available at Packagist. Run the following command to get it through Composer.
```bash
composer require aspose/tasks-sdk-php
```
Run Composer's [autoload](https://getcomposer.org/doc/00-intro.md#autoloading) to start using the SDK.
```php
require_once('vendor/autoload.php');
```
See [composer.json](composer.json) for details about the referenced packages.
## Convert MS Project MPP to PDF in PHP
```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](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-dotnet) |[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php) | [GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-python) | [GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-node) |[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-go)|
| [NuGet](https://www.nuget.org/packages/Aspose.tasks-Cloud/)| [Composer](https://packagist.org/packages/aspose/tasks-cloud-php) | [PIP](https://pypi.org/project/aspose-tasks-cloud/) | [NPM](https://www.npmjs.com/package/@asposecloud/aspose-tasks-cloud) | [Go.Dev](https://pkg.go.dev/github.com/aspose-tasks-cloud/aspose-tasks-cloud-go/) |
[Product Page](https://products.aspose.cloud/tasks/php) | [Documentation](https://docs.aspose.cloud/display/taskscloud/Home) | [API Reference](https://apireference.aspose.cloud/tasks/) | [Code Samples](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php) | [Blog](https://blog.aspose.cloud/category/tasks/) | [Free Support](https://forum.aspose.cloud/c/tasks) | [Free Trial](https://dashboard.aspose.cloud/#/apps)