<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/office-2007-spreadsheetml-classes-in-php-o9m3sj6xh" -->

---
title: Office 2007 SpreadsheetML classes in PHP | daily.dev
description: A new set of PHP classes enables creating Office 2007 SpreadsheetML (.xlsx) documents. The library supports creating Spreadsheet and Worksheet objects, adding...
canonical: https://daily.dev/posts/office-2007-spreadsheetml-classes-in-php-o9m3sj6xh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Office 2007 SpreadsheetML classes in PHP | daily.dev
og:description: A new set of PHP classes enables creating Office 2007 SpreadsheetML (.xlsx) documents. The library supports creating Spreadsheet and Worksheet objects, adding...
og:url: https://daily.dev/posts/office-2007-spreadsheetml-classes-in-php-o9m3sj6xh
og:image: https://api.daily.dev/og/posts/O9m3sj6Xh.png
og:image:alt: Office 2007 SpreadsheetML classes in PHP
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Office 2007 SpreadsheetML classes in PHP

**[Maarten Balliauw](https://daily.dev/sources/maartenballiauw)** · 2 min read · 0 upvotes · 0 comments

## Summary

A new set of PHP classes enables creating Office 2007 SpreadsheetML (.xlsx) documents. The library supports creating Spreadsheet and Worksheet objects, adding cells with string, number, formula, and boolean data types, and exporting to Excel 2007 OpenXML format. Visual formatting isn't yet implemented. The class set is released under GPL license, follows PEAR and Zend class hierarchy conventions, and is designed with an IWriter interface to allow future ODF or XLS writers and eventually input format support.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.maartenballiauw.be/posts/2006-12-14-office-2007-spreadsheetml-classes-in-php>

## Similar posts on daily.dev

- [Formula Length](https://daily.dev/posts/formula-length-arflqz5um) · The Daily WTF · 0 upvotes · 0 comments
- [Open Source ONLYOFFICE Docs 9.4 Brings Dark Spreadsheets, Smarter Forms, and a Licensing Cleanup](https://daily.dev/posts/open-source-onlyoffice-docs-9-4-brings-dark-spreadsheets-smarter-forms-and-a-licensing-cleanup-xhhzrstcw) · It's Foss · 0 upvotes · 0 comments
- [What’s New in Spreadsheet Editor SDK — 2025 Volume 4](https://daily.dev/posts/what-s-new-in-spreadsheet-editor-sdk-2025-volume-4-mcxqx5ldc) · Syncfusion · 5 upvotes · 0 comments
- [LibreOffice once again slams Microsoft for using "lock-in" with Office files](https://daily.dev/posts/libreoffice-once-again-slams-microsoft-for-using-lock-in-with-office-files-crgws2lzt) · XDA Developers · 0 upvotes · 0 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#php](https://daily.dev/tags/php)

[View this post on daily.dev](https://daily.dev/posts/office-2007-spreadsheetml-classes-in-php-o9m3sj6xh)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Office 2007 SpreadsheetML classes in PHP","url":"https://daily.dev/posts/office-2007-spreadsheetml-classes-in-php-o9m3sj6xh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/office-2007-spreadsheetml-classes-in-php-o9m3sj6xh"},"datePublished":"2026-10-04T13:06:26.144Z","dateModified":"2026-10-04T13:09:34.492Z","description":"A new set of PHP classes enables creating Office 2007 SpreadsheetML (.xlsx) documents. The library supports creating Spreadsheet and Worksheet objects, adding...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/95ec1c95f3260204bb99570c2228ae8f?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/95ec1c95f3260204bb99570c2228ae8f?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Maarten Balliauw","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Maarten Balliauw","logo":"https://media.daily.dev/image/upload/s--rOTg3VYO--/f_auto,q_auto/v1791119043/logos/maartenballiauw?_a=BAMAMicg0","url":"https://daily.dev/sources/maartenballiauw"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/office-2007-spreadsheetml-classes-in-php-o9m3sj6xh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"open-source,php","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Maarten Balliauw","item":"https://daily.dev/sources/maartenballiauw"},{"@type":"ListItem","position":3,"name":"Office 2007 SpreadsheetML classes in PHP"}]}
```

