Skip to content
/ pptx Public
forked from CristalTeam/pptx

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

License

Notifications You must be signed in to change notification settings

Aggiekev/pptx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cristal PPTX

Latest Stable Version GitHub issues GitHub 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.

🚀 Installation using Composer

composer require cristal/pptx

👀 Quick view

<?php

use Cristal\Presentation\PPTX;

require 'vendor/autoload.php';

$basePPTX = new PPTX(__DIR__.'/source/base.pptx');
$endPPTX = new PPTX(__DIR__.'/source/endslide.pptx');

$basePPTX->addSlides($endPPTX->getSlides());

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

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%