Creating IDML files for Adobe InDesign – DEMO

2.0.0 2023-12-19 13:48 UTC

This package is auto-updated.

Last update: 2024-06-19 15:03:02 UTC


PHP from Packagist Codacy Badge Total Downloads License


Creates content for IDML files used by Adobe InDesign.

This library is a demo version with a limited number of functions. The full-functional library is private and can be used with Composer too. Visit to find information about the usage and the pricing.

How to use

Read more about the use of idml files in our documentation.


This library is made for the use with Composer. Add it to your project by running $ composer require bitandblack/idml-creator-demo.


You can find an example code in the example folder. Call singlePage.php to create a basic idml document containing a rectangle.

About this demo

This library wants to give an idea how it is to create idml files via PHP. There are a lot of functions missing. What you can't do is:

  • Create and use TextFrames, Polygons, Ovals, Images or Tables
  • Create and use Paragraph, Cell, Object or Table Styles
  • Create and use Tags, Layers or Stories
  • Use Fonts, Colors or Color Profiles

Anyway it will be enough to get an impression.

Validation of IDML files

Adobe provides a schema for the validation of IDML files, which can be found under They provide a JAVA based validation only.

We as Bit&Black made a port to PHP, which can be used and implemented with the help of Composer. It can be found at by its name bitandblack/idml-validator.


If you have any questions, feel free to contact us under

Further information about Bit&Black can be found under