jakoubek/feragstring-php

A PHP library for creating TSL files (aka 'Ferag-String').

v1.0.0 2023-10-02 11:06 UTC

This package is auto-updated.

Last update: 2024-11-13 17:28:24 UTC


README

feragstring-php is a PHP library for creating a FERAG string file ("TSL file") programmatically from PHP code. This is the PHP equivalent to my Go package feragstring.

Again: If you don't know what FERAG (the company) or a FERAG string/TSL file is you probably don't need this package ;-)

Usage

// create a FERAG string object
$fs = new Feragstring();
$fs->SetTitleName("EDITION1");

// set title parameters
$fs->titleInfo->setPrintObjectName("EDITION1A");

...

// get the FERAG string (the write it to a file...) 
$fileContent = $fs->PrintOut();

Supported messages

  • Title Info (%2440)
  • Product Reference (%2450)
  • Route List Entry (%2401)
  • Route Info (%2402)
  • Production Drop (%2403)
  • Topsheet Data for TSL (%2414)
  • Route End (%2406)
  • Title End (%2441)

Installation

Installation gets done with Composer:

composer require jakoubek/feragstring-php

Need commercial support?

I offer commercial support for newspaper companies or printing plants who want to set up their own FERAG string/TSL file generation.

See https://www.jakoubek.net/ferag-string-erzeugen (German) or write an email to info@jakoubek.net.