japseyz/simple-jdf

This package is abandoned and no longer maintained. No replacement package was suggested.

A package for creating simple JDF messages

v1.0.3 2021-05-04 19:45 UTC

This package is auto-updated.

Last update: 2023-08-06 22:56:08 UTC


README

A package for creating simple JDF messages

JDF is an XML standard used to send files to digital printers.

Installation

composer require japseyz/simple-jdf

Usage

Create a new JDF file

// instantiate a Job
$job = new \JapSeyz\SimpleJDF\Job();
// add a new print file to the Job
$job->setPrintFile('http://absolute/path/to/file.pdf');
// save the raw JDF to a file
file_put_contents('filename.jdf', $job->asXML());

Credits

Thanks to Joe Pritchard for his JoePritchard/jdf package which this is based upon.