An open API service indexing awesome lists of open source software.

https://github.com/cristalteam/pptx

🎞️ Copy, move, merge and template Powerpoint files (.pptx) using PHP
https://github.com/cristalteam/pptx

library mspowerpoint office openxml php powerpoint pptx presentation presentationml templating

Last synced: about 1 month ago
JSON representation

🎞️ Copy, move, merge and template Powerpoint files (.pptx) using PHP

Awesome Lists containing this project

README

          

# Cristal PPTX

[![Latest Stable Version](https://img.shields.io/packagist/v/cristal/pptx.svg?style=flat-square)](https://packagist.org/packages/cristal/pptx)
[![GitHub issues](https://img.shields.io/github/issues/cristalTeam/pptx.svg?style=flat-square)](https://github.com/cristalTeam/pptx/issues)
[![GitHub license](https://img.shields.io/github/license/cristalTeam/pptx.svg?style=flat-square)](https://github.com/cristalTeam/pptx/blob/master/LICENSE)

Cristal PPTX is a PHP Library that allows you to manipulate slides from a Powerpoint PPTX file. Copy slides inside another pptx and templating it using mustache tags.

## :rocket: Installation using Composer

```bash
composer require cristal/pptx
```

## :eyes: Quick view

```php
addSlides($endPPTX->getSlides());

$basePPTX->template([
'materiel' => [
'libelle' => 'Bonjour'
]
]);

$basePPTX->saveAs(__DIR__.'/dist/presentation.pptx');
```