Download the PHP package opensoft/epl without Composer

On this page you can find all versions of the php package opensoft/epl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package epl

The library is a php wrapper for the EPL2 Programming Language. At present do not support all commands EPL2.

Build Status

Usage:


<?php
use Epl\CommandComposite;
use Epl\CommandHelper;

$composite = new Composite();
$commandHelper = new CommandHelper($composite);
//Draw new line
$commandHelper->lineDrawBlack(50, 200, 400, 20);
//Draw other line
$commandHelper->lineDrawBlack(200, 50, 20, 400);
//Print 1 label
$commandHelper->print(1);
//Get EPL string
$eplString = $commandHelper->toEplString();

To implement the commands necessary to implement Epl\CommandInterface.

For convenience of use EPL commands there is a CommandHelper. It hides the implementation EPL commands. But you can direct way to instantiate the command.

<?php
use Epl\Command\PrintCommand;
use Epl\Command\CommandComposite;

$commandComposite = new CommandComposite();
$printCommand = new PrintCommand(1);
$commandComposite->addCommand($printCommand);
$eplString = $commandComposite->toEplString();

Installation

Installation on Symfony 2 project

If you use a deps file, add:

[epl]
    git=http://github.com/opensoft/epl.git

Or if you want to clone the repos:

git clone git://github.com/opensoft/epl.git vendor/epl

Add the namespace to your autoloader

$loader->registerNamespaces(array(
    ............
    'Epl'   => DIR.'/../vendor/epl/src',
    ...........
));

List of commands

EPL Description Status Class Helper Method
A ASCII Text Partial Epl\Command\Image\AsciiTextCommand asciiText
AUTOFR Automatic Form Printing Not implemented
B Bar Code Complete Epl\Command\Image\BarCodeCommand barCode
B RSS-14 Bar Code Complete Epl\Command\Image\Rss14BarCodeCommand rss14BarCode
b 2D Data Matrix Bar Code Complete Epl\Command\Image\DataMatrixBarCodeCommand dataMatrixBarCode
D Density Complete Epl\Command\Stored\DensityCommand density
I Character Set Selection Complete Epl\Command\Stored\CharacterSetSelectionCommand characterSetSelection
JB Disable Top Of Form Backup Complete Epl\Command\Stored\DisableTopOfFormBackupCommand disableTopOfFormBackup
JC Disable Top Of Form Backup - All Cases Complete Epl\Command\Stored\DisableTopOfFormBackupAllCasesCommand disableTopOfFormBackupAllCases
JF Enable Top Of Form Backup Complete Epl\Command\Stored\EnableTopOfFormBackupCommand enableTopOfFormBackup
LE Line Draw Exclusive OR Complete Epl\Command\Image\LineDrawExclusiveORCommand lineDrawExclusiveOR
LO Line draw black Complete Epl\Command\Image\LineDrawBlackCommand lineDrawBlack
LS Line draw diagonal Complete Epl\Command\Image\LineDrawDiagonalCommand lineDrawDiagonal
LW Line draw white Complete Epl\Command\Image\LineDrawWhiteCommand lineDrawWhite
N Clear Image Buffer Complete Epl\Command\Image\ClearImageBufferCommand clearImageBuffer
O Options Select Complete Epl\Command\Stored\HardwareOptionCommand hardwareOption
P Print Complete Epl\Command\PrintCommand printLabel
PA Print Automatic Complete Epl\Command\Form\PrintAutomaticCommand printAutomatic
q Set Form Width Complete Epl\Command\Stored\SetFormWidthCommand setFormWidth
Q Set Form Length Complete Epl\Command\Stored\SetFormLengthCommand setFormLength
S Speed Select Complete Epl\Command\Stored\SpeedCommand speed
X Box Draw Complete Epl\Command\Image\BoxDrawCommand boxDraw
GW Direct Graphic Write Complete Epl\Command\Image\GraphicWriteCommand graphicWrite
; Code comment line Complete Epl\Command\Form\CommentLineCommand commentLine

All versions of epl with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package opensoft/epl contains the following files

Loading the files please wait ....