Skip to content

feragstring-php is a PHP library for creating a FERAG string file ("TSL file") programmatically from PHP code.

Notifications You must be signed in to change notification settings

jakoubek/feragstring-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

feragstring-php

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 [email protected].

About

feragstring-php is a PHP library for creating a FERAG string file ("TSL file") programmatically from PHP code.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages