bitandblack / idml-creator-demo
Creating IDML files for Adobe InDesign – DEMO
Requires
- php: >=8.2
- ext-dom: *
- ext-libxml: *
- ext-xsl: *
- bitandblack/composer-helper: ^1.0
- bitandblack/helpers: ^2.0
- bitandblack/idml-writer: ^1.0
- doctrine/annotations: ^1.6
Requires (Dev)
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^10.0
- rector/rector: ^0
- symplify/easy-coding-standard: ^12.0
Suggests
- bitandblack/idml-creator: The full version of the IDML-Creator. This library can be used with Private Packagist
- bitandblack/idml-validator: Validates IDML files by the official schema from Adobe.
- bitandblack/indesign-characters: Special characters used by Adobe InDesign
This package is auto-updated.
Last update: 2024-11-19 15:47:45 UTC
README
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.