bitandblack/idml-creator-demo

Creating IDML files for Adobe InDesign – DEMO

2.0.0 2023-12-19 13:48 UTC

This package is auto-updated.

Last update: 2024-04-19 14:35:08 UTC


README

PHP from Packagist Codacy Badge Total Downloads License

IDML Creator DEMO

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 www.idml.dev/en/idml-creator-php.html to find information about the usage and the pricing.

How to use

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

Installation

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

Example

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 www.adobe.com. 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 packagist.org by its name bitandblack/idml-validator.

Help

If you have any questions, feel free to contact us under hello@bitandblack.com.

Further information about Bit&Black can be found under www.bitandblack.com.