Download the PHP package wazaari/barcodes without Composer
On this page you can find all versions of the php package wazaari/barcodes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package barcodes
Barcodes
Generating barcodes in PHP since 2015!
Generates HTML, PNG, or SVG canvas
Supported Barcode Types
One Dimensional
- Codabar
- Code 11
- Code 39 (also extended and/or with check-digit)
- Code 93
- Code 128 (A, B, C, or Auto)
- EAN (2, 5, 13)
- Intelligent Mail
- Interleave 2 of 5
- MSI (also with check-digit)
- Pharmacode
- POSTNET (or PLANET)
- RMS4CC (or KIX)
- Standard 2 of 5 (also with check-digit)
- UPC (A, E)
Two Dimensional
- DataMatrix
- PDF417
- QR Code
Requirements
- Barcodes requires ImageMagick to create PNGs in PHP 5.3.
- Barcodes requires PHP bcmath extension for Intelligent Mail barcodes
Installation
You can install this package with the Composer CLI:
composer require tklovett/barcodes
Or manually add the dependency to your project's composer.json
:
"require": {
"tklovett/barcodes": "dev-master"
}
And tell composer to install it:
composer install
Usage
First instantiate a BarcodeGenerator factory:
Then tell it to generate the barcode type of your choice for your code:
Finally, output SVG, HTML, or a PNG:
Need a custom height, width, or color for your barcode? No problem:
TODO:
- Convert snake_case method names to camelCase
- Replace returns from barcode constructors with exception throws
- Write tests
- Write docs
- parent::__construct($code); in all barcodes
- remove unused methods
All versions of barcodes with dependencies
PHP Build Version
Package Version
No informations.
The package wazaari/barcodes contains the following files
Loading the files please wait ....