phpoffice/phppresentation breaking changes
phpoffice/phppresentation 1.0.0 (November 25, 2021) is its newest release with breaking changes, 663 of them. The first: Removed PhpOffice\PhpPresentation\PhpPresentation::getProperties. Every breaking API change we have recorded in phpoffice/phppresentation on Packagist: 671 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.2.0, released July 23, 2025. LGPL-3.0-only license. Source repository
Its 1.0.0 release requires PHP 7.1 or later. PHP end of life dates.
- From 0.9.0 to 1.0.0: 663 breaking changes in 1 version.
- From 0.8.0 to 1.0.0: 664 breaking changes in 2 versions.
phpoffice/phppresentation 1.0.0 breaking changes
- Removed
PhpOffice\PhpPresentation\PhpPresentation::getProperties
Use getDocumentProperties() instead. packagist.org - Removed
PhpOffice\PhpPresentation\PhpPresentation::getZoom
Use getPresentationProperties()->getZoom() instead. packagist.org - Removed
PhpOffice\PhpPresentation\PhpPresentation::isMarkedAsFinal
Use getPresentationProperties()->isMarkedAsFinal() instead. packagist.org - Removed
PhpOffice\PhpPresentation\PhpPresentation::markAsFinal
Use getPresentationProperties()->markAsFinal($state) instead. packagist.org - Removed
PhpOffice\PhpPresentation\PhpPresentation::setProperties
Use setDocumentProperties() instead. packagist.org - Removed
PhpOffice\PhpPresentation\PhpPresentation::setZoom
Use getPresentationProperties()->setZoom($zoom) instead. packagist.org - Removed
PhpOffice\PhpPresentation\Shape\Chart\Type\AbstractType::getData
Use getSeries() instead. packagist.org - Removed
PhpOffice\PhpPresentation\Shape\Chart\Type\AbstractType::setData
Use setSeries($value) instead. packagist.org - Removed
PhpOffice\PhpPresentation\Shape\Drawing
PhpOffice\PhpPresentation\Shape\Drawing was removed in phpoffice/phppresentation 1.0.0 packagist.org - Removed
PhpOffice\PhpPresentation\Shape\MemoryDrawing
PhpOffice\PhpPresentation\Shape\MemoryDrawing was removed in phpoffice/phppresentation 1.0.0 packagist.org - Removed
PhpOffice\PhpPresentation\Slide\Transition::$transitionOptions
PhpOffice\PhpPresentation\Slide\Transition::$transitionOptions was removed in phpoffice/phppresentation 1.0.0 packagist.org - Removed
PhpOffice\PhpPresentation\Slide\Transition::TRANSITION_CIRCLE_HORIZONTAL
PhpOffice\PhpPresentation\Slide\Transition::TRANSITION_CIRCLE_HORIZONTAL was removed in phpoffice/phppresentation 1.0.0 packagist.org - Removed
PhpOffice\PhpPresentation\Slide\Transition::TRANSITION_CIRCLE_VERTICAL
PhpOffice\PhpPresentation\Slide\Transition::TRANSITION_CIRCLE_VERTICAL was removed in phpoffice/phppresentation 1.0.0 packagist.org - Removed
PhpOffice\PhpPresentation\Style\Alignment::__construct
PhpOffice\PhpPresentation\Style\Alignment::__construct was removed in phpoffice/phppresentation 1.0.0 packagist.org - Removed
PhpOffice\PhpPresentation\Style\Color
Deprecated methods and classes were removed in this release. github.com - Removed
PhpOffice\PhpPresentation\Writer\PowerPoint2007::$layoutPack
PhpOffice\PhpPresentation\Writer\PowerPoint2007::$layoutPack was removed in phpoffice/phppresentation 1.0.0 packagist.org - Removed
PhpOffice\PhpPresentation\Writer\PowerPoint2007::getLayoutPack
The method is gone; code calling it will fail. packagist.org - Removed
PhpOffice\PhpPresentation\Writer\PowerPoint2007::setLayoutPack
The method is gone; code calling it will fail. packagist.org - Removed
PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack
The class is gone; code that references it will fail. packagist.org - Removed
PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\PackDefault
The class is gone; code that references it will fail. packagist.org - Removed
PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\TemplateBased
The class is gone; code that references it will fail. packagist.org - Removed
PhpOffice\PhpPresentation\Writer\PowerPoint2007\PptSlides::writeShapeDrawing
PhpOffice\PhpPresentation\Writer\PowerPoint2007\PptSlides::writeShapeDrawing was removed in phpoffice/phppresentation 1.0.0 packagist.org - Behavior changed
Classes enforce strict parameter and return types; code passing mismatched types may now fail. github.com - Configuration changed
PHP versions older than 7.1 are no longer supported; upgrade PHP before using this release. github.com - Configuration changed
HHVM is no longer supported; code running on HHVM must move to PHP. github.com - Signature changed
PhpOffice\PhpPresentation\AbstractShape::getBorder
Was public function getBorder(); now public function getBorder(): Border. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::getContainer
Was public function getContainer(); now public function getContainer(): ?ShapeContainerInterface. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::getFill
Was public function getFill(); now public function getFill(): ?Fill. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::getHyperlink
Was public function getHyperlink(); now public function getHyperlink(): Hyperlink. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::getOffsetX
Was public function getOffsetX(); now public function getOffsetX(): int. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::getPlaceholder
Was public function getPlaceholder(); now public function getPlaceholder(): ?Placeholder. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::getShadow
Was public function getShadow(); now public function getShadow(): ?Shadow. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::isPlaceholder
Was public function isPlaceholder(); now public function isPlaceholder(): bool. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::setFill
Was public function setFill(Fill $pValue = null); now public function setFill(Fill $pValue = null): self. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::setHeight
Was public function setHeight($pValue = 0); now public function setHeight(int $pValue = 0). packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::setHyperlink
Was public function setHyperlink(Hyperlink $pHyperlink = null); now public function setHyperlink(Hyperlink $pHyperlink = null): self. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::setOffsetX
Was public function setOffsetX($pValue = 0); now public function setOffsetX(int $pValue = 0). packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::setOffsetY
Was public function setOffsetY($pValue = 0); now public function setOffsetY(int $pValue = 0). packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::setPlaceHolder
Was public function setPlaceHolder(Placeholder $placeholder); now public function setPlaceHolder(Placeholder $placeholder): self. packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::setWidth
Was public function setWidth($pValue = 0); now public function setWidth(int $pValue = 0). packagist.org - Signature changed
PhpOffice\PhpPresentation\AbstractShape::setWidthAndHeight
Was public function setWidthAndHeight($width = 0, $height = 0); now public function setWidthAndHeight(int $width = 0, int $height = 0). packagist.org - Signature changed
PhpOffice\PhpPresentation\Autoloader::autoload
Was public static function autoload($class); now public static function autoload(string $class): void. packagist.org - Signature changed
PhpOffice\PhpPresentation\Autoloader::register
Was public static function register(); now public static function register(): void. packagist.org - Signature changed
PhpOffice\PhpPresentation\ComparableInterface::getHashCode
Was public function getHashCode(); now public function getHashCode(): string. packagist.org - Signature changed
PhpOffice\PhpPresentation\ComparableInterface::getHashIndex
Was public function getHashIndex(); now public function getHashIndex(): ?int. packagist.org - Signature changed
PhpOffice\PhpPresentation\ComparableInterface::setHashIndex
Was public function setHashIndex($value); now public function setHashIndex(int $value). packagist.org - Signature changed
PhpOffice\PhpPresentation\DocumentLayout::convertUnit
Was protected function convertUnit($value, $fromUnit, $toUnit); now protected function convertUnit(float $value, string $fromUnit, string $toUnit): float. packagist.org - Signature changed
PhpOffice\PhpPresentation\DocumentLayout::getCX
Was public function getCX($unit = self::UNIT_EMU); now public function getCX(string $unit = self::UNIT_EMU): float. packagist.org - Signature changed
PhpOffice\PhpPresentation\DocumentLayout::getCY
Was public function getCY($unit = self::UNIT_EMU); now public function getCY(string $unit = self::UNIT_EMU): float. packagist.org - Signature changed
PhpOffice\PhpPresentation\DocumentLayout::getDocumentLayout
Was public function getDocumentLayout(); now public function getDocumentLayout(): string. packagist.org
And 613 more in this version. Sign up to see every change
phpoffice/phppresentation 0.9.0 breaking changes
- Behavior changed
Percentage values are written with a trailing percent sign instead of as 1000th of a percent, to match the standard. Code that reads or depends on the old written format must be updated. github.com
phpoffice/phppresentation 0.8.0 breaking changes
- Signature changed
PhpOffice\PhpPresentation\Reader\PowerPoint2007::loadShapeRichText
Was protected function loadShapeRichText(XMLReader $document, \DOMElement $node, AbstractSlide $oSlide); now protected function loadShapeRichText(XMLReader $document, \DOMElement $node, $oSlide). packagist.org - Signature changed
PhpOffice\PhpPresentation\Style\Color::setRGB
Was public function setRGB($pValue = '000000'); now public function setRGB($pValue = '000000', $pAlpha = 'FF'). packagist.org - Signature changed
PhpOffice\PhpPresentation\Style\SchemeColor::__construct
Was public function __construct(); now public function __construct($pARGB = self::COLOR_BLACK). packagist.org - Signature changed
PhpOffice\PhpPresentation\Writer\ODPresentation\Content::writeDrawingStyle
Was public function writeDrawingStyle(XMLWriter $objWriter, AbstractDrawing $shape); now public function writeDrawingStyle(XMLWriter $objWriter, AbstractDrawingAdapter $shape). packagist.org - Signature changed
PhpOffice\PhpPresentation\Writer\PowerPoint2007\AbstractSlide::writeParagraphs
Was protected function writeParagraphs(XMLWriter $objWriter, $paragraphs); now protected function writeParagraphs(XMLWriter $objWriter, $paragraphs, $bIsPlaceholder = false). packagist.org - Signature changed
PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack::findLayoutName
Was public function findLayoutName($idLayout = ''); now public function findLayoutName($idLayout = null). packagist.org - Signature changed
PhpOffice\PhpPresentation\Writer\PowerPoint2007\PptCharts::writeAxis
Was protected function writeAxis(XMLWriter $objWriter, Chart\Axis $oAxis, $typeAxis); now protected function writeAxis(XMLWriter $objWriter, Chart\Axis $oAxis, $typeAxis, Chart\Type\AbstractType $typeChart). packagist.org
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.