---
title: "phpoffice/phppresentation 1.0.0 Breaking Changes"
description: "What each phpoffice/phppresentation release removed, renamed or changed: 671 breaking changes in 3 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/phpoffice/phppresentation
last_updated: 2026-12-04
---

# 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

Latest version `1.2.0`, released July 23, 2025. LGPL-3.0-only license. [Source repository](https://github.com/PHPOffice/PHPPresentation)

Its 1.0.0 release requires PHP 7.1 or later. [PHP end of life dates](https://since.dev/calendar/php.md).

- From [0.9.0](#v-0-9-0) to [1.0.0](#v-1-0-0): 663 breaking changes in 1 version.
- From [0.8.0](#v-0-8-0) to [1.0.0](#v-1-0-0): 664 breaking changes in 2 versions.

## phpoffice/phppresentation 1.0.0 breaking changes

phpoffice/phppresentation 1.0.0, released November 25, 2021: 663 breaking changes.

- **Removed** `PhpOffice\PhpPresentation\PhpPresentation::getProperties`  

Use getDocumentProperties() instead. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\PhpPresentation::getZoom`  

Use getPresentationProperties()->getZoom() instead. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\PhpPresentation::isMarkedAsFinal`  

Use getPresentationProperties()->isMarkedAsFinal() instead. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\PhpPresentation::markAsFinal`  

Use getPresentationProperties()->markAsFinal($state) instead. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\PhpPresentation::setProperties`  

Use setDocumentProperties() instead. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\PhpPresentation::setZoom`  

Use getPresentationProperties()->setZoom($zoom) instead. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Shape\Chart\Type\AbstractType::getData`  

Use getSeries() instead. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Shape\Chart\Type\AbstractType::setData`  

Use setSeries($value) instead. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Shape\Drawing`  

PhpOffice\\PhpPresentation\\Shape\\Drawing was removed in phpoffice/phppresentation 1.0.0 [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Shape\MemoryDrawing`  

PhpOffice\\PhpPresentation\\Shape\\MemoryDrawing was removed in phpoffice/phppresentation 1.0.0 [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Slide\Transition::$transitionOptions`  

PhpOffice\\PhpPresentation\\Slide\\Transition::$transitionOptions was removed in phpoffice/phppresentation 1.0.0 [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **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](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **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](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Style\Alignment::__construct`  

PhpOffice\\PhpPresentation\\Style\\Alignment::\_\_construct was removed in phpoffice/phppresentation 1.0.0 [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Style\Color`  

Deprecated methods and classes were removed in this release. [github.com](https://github.com/PHPOffice/PHPPresentation/releases/tag/1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Writer\PowerPoint2007::$layoutPack`  

PhpOffice\\PhpPresentation\\Writer\\PowerPoint2007::$layoutPack was removed in phpoffice/phppresentation 1.0.0 [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Writer\PowerPoint2007::getLayoutPack`  

The method is gone; code calling it will fail. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Writer\PowerPoint2007::setLayoutPack`  

The method is gone; code calling it will fail. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack`  

The class is gone; code that references it will fail. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\PackDefault`  

The class is gone; code that references it will fail. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\TemplateBased`  

The class is gone; code that references it will fail. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Removed** `PhpOffice\PhpPresentation\Writer\PowerPoint2007\PptSlides::writeShapeDrawing`  

PhpOffice\\PhpPresentation\\Writer\\PowerPoint2007\\PptSlides::writeShapeDrawing was removed in phpoffice/phppresentation 1.0.0 [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Behavior changed**  

Classes enforce strict parameter and return types; code passing mismatched types may now fail. [github.com](https://github.com/PHPOffice/PHPPresentation/releases/tag/1.0.0)
- **Configuration changed**  

PHP versions older than 7.1 are no longer supported; upgrade PHP before using this release. [github.com](https://github.com/PHPOffice/PHPPresentation/releases/tag/1.0.0)
- **Configuration changed**  

HHVM is no longer supported; code running on HHVM must move to PHP. [github.com](https://github.com/PHPOffice/PHPPresentation/releases/tag/1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::getBorder`  

Was public function getBorder(); now public function getBorder(): Border. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::getContainer`  

Was public function getContainer(); now public function getContainer(): ?ShapeContainerInterface. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::getFill`  

Was public function getFill(); now public function getFill(): ?Fill. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::getHyperlink`  

Was public function getHyperlink(); now public function getHyperlink(): Hyperlink. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::getOffsetX`  

Was public function getOffsetX(); now public function getOffsetX(): int. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::getPlaceholder`  

Was public function getPlaceholder(); now public function getPlaceholder(): ?Placeholder. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::getShadow`  

Was public function getShadow(); now public function getShadow(): ?Shadow. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::isPlaceholder`  

Was public function isPlaceholder(); now public function isPlaceholder(): bool. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::setFill`  

Was public function setFill(Fill $pValue = null); now public function setFill(Fill $pValue = null): self. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::setHeight`  

Was public function setHeight($pValue = 0); now public function setHeight(int $pValue = 0). [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::setHyperlink`  

Was public function setHyperlink(Hyperlink $pHyperlink = null); now public function setHyperlink(Hyperlink $pHyperlink = null): self. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::setOffsetX`  

Was public function setOffsetX($pValue = 0); now public function setOffsetX(int $pValue = 0). [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::setOffsetY`  

Was public function setOffsetY($pValue = 0); now public function setOffsetY(int $pValue = 0). [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::setPlaceHolder`  

Was public function setPlaceHolder(Placeholder $placeholder); now public function setPlaceHolder(Placeholder $placeholder): self. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\AbstractShape::setWidth`  

Was public function setWidth($pValue = 0); now public function setWidth(int $pValue = 0). [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **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](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\Autoloader::autoload`  

Was public static function autoload($class); now public static function autoload(string $class): void. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\Autoloader::register`  

Was public static function register(); now public static function register(): void. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\ComparableInterface::getHashCode`  

Was public function getHashCode(); now public function getHashCode(): string. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\ComparableInterface::getHashIndex`  

Was public function getHashIndex(); now public function getHashIndex(): ?int. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\ComparableInterface::setHashIndex`  

Was public function setHashIndex($value); now public function setHashIndex(int $value). [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **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](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **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](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **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](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)
- **Signature changed** `PhpOffice\PhpPresentation\DocumentLayout::getDocumentLayout`  

Was public function getDocumentLayout(); now public function getDocumentLayout(): string. [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#1.0.0)

And 613 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## phpoffice/phppresentation 0.9.0 breaking changes

phpoffice/phppresentation 0.9.0, released July 5, 2017: 1 breaking change.

- **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](https://github.com/PHPOffice/PHPPresentation/releases/tag/0.9.0)

## phpoffice/phppresentation 0.8.0 breaking changes

phpoffice/phppresentation 0.8.0, released April 3, 2017: 7 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](https://packagist.org/packages/phpoffice/phppresentation#0.8.0)
- **Signature changed** `PhpOffice\PhpPresentation\Style\Color::setRGB`  

Was public function setRGB($pValue = '000000'); now public function setRGB($pValue = '000000', $pAlpha = 'FF'). [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#0.8.0)
- **Signature changed** `PhpOffice\PhpPresentation\Style\SchemeColor::__construct`  

Was public function \_\_construct(); now public function \_\_construct($pARGB = self::COLOR_BLACK). [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#0.8.0)
- **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](https://packagist.org/packages/phpoffice/phppresentation#0.8.0)
- **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](https://packagist.org/packages/phpoffice/phppresentation#0.8.0)
- **Signature changed** `PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack::findLayoutName`  

Was public function findLayoutName($idLayout = ''); now public function findLayoutName($idLayout = null). [packagist.org](https://packagist.org/packages/phpoffice/phppresentation#0.8.0)
- **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](https://packagist.org/packages/phpoffice/phppresentation#0.8.0)

## Related packages

- [phpoffice/phpspreadsheet](https://since.dev/packages/packagist/phpoffice/phpspreadsheet.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
