Registry / utility / phpoffice-phppresentation

phpoffice-phppresentation

JSON →
library1.2.0phppackagistunverified

PHPPresentation - Read, Create and Write Presentations documents in PHP

composer require phpoffice/phppresentation
INSTALL
IMPORT
SIG · PHPOFFICE-PHPPRESE
P
phpoffice-phppresentation
utilityphpv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PhpPresentation
use PhpOffice\PhpPresentation\PhpPresentation;

Create a PowerPoint presentation with a slide containing text.

use PhpOffice\PhpPresentation\PhpPresentation; use PhpOffice\PhpPresentation\IOFactory; $presentation = new PhpPresentation(); $slide = $presentation->getActiveSlide(); $slide->createRichTextShape()->setText('Hello World!'); $writer = IOFactory::createWriter($presentation, 'PowerPoint2007'); $writer->save('presentation.pptx');
Debug
Known issues
gotchaRequires PHP 7.1+ and extensions like ZipArchive and XML.
fix
Ensure PHP version and required extensions are installed.
affects: >=1.0.0
Upgrade
Version history
1.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Resources
phpoffice-phppresentation — pip install phpoffice-phppresentation · libregistry