Download the PHP package stillzombie/barcode without Composer
On this page you can find all versions of the php package stillzombie/barcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stillzombie/barcode
More information about stillzombie/barcode
Files in stillzombie/barcode
Package barcode
Short Description Barcode generator like Qr Code , PDF417,C39, C39+,C39E,C39E+,C93,S25,S25+,I25,I25+,C128,C128A,C128B,C128C,2-Digits UPC-Based Extention,5-Digits UPC-Based Extention,EAN 8,EAN 13,UPC-A,UPC-E,MSI (Variation of Plessey code)
License LGPL-3.0
Informations about the package barcode
This is a barcode generation package inspired by https://github.com/tecnickcom/TCPDF. Actually, I use that package's underline classes for generating barcodes. This package is just a wrapper of that package and adds compatibility with Laravel 5.
I used the following classes of that package.
- src/Stillzombie/Barcode/Datamatrix.php (include/barcodes/datamatrix.php)
- src/Stillzombie/Barcode/DNS1D.php (tcpdf_barcodes_1d.php)
- src/Stillzombie/Barcode/DNS2D.php (tcpdf_barcodes_2d.php)
- src/Stillzombie/Barcode/PDF417.php (include/barcodes/pdf417.php)
- src/Stillzombie/Barcode/QRcode.php (include/barcodes/qrcode.php)
This package is compatible with Laravel 5.2, 5.3 and 5.4 and Laravel 6.0
This package relies on php-gd extension. So, make sure it is installed on your machine.
Installation
Begin by installing this package through Composer. Just run following command to terminal-
You can also edit your project's composer.json
file to require stillzombie/barcode
.
For Laravel 5.0 and 5.1 use this-
For Laravel 4.0, 4.1 and 4.2 use this-
Next, update Composer from the Terminal:
Once this operation completes, the final step is to add the service provider. Open config/app.php
, and add a new item to the providers array.
For version 4.* add these lines on app/config/app.php
file-
If you want to change Bar-code's settings (Store Path etc.), you need to publish its config file(s). For that you need to run in the terminal-
Make sure you have write permission to the storage path. By default it sets to /storage
folder.
Now add the alias.
For version 4.2 alias will be like this-
Bar-code generator like Qr Code, PDF417, C39,C39+, C39E,C39E+, C93, S25,S25+, I25,I25+, C128,C128A,C128B,C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8,EAN 13, UPC-A,UPC-E, MSI (Variation of Plessey code)
generator in html, png embedded base64 code and SVG canvas
Width and Height example
Color
Show Text
2D Barcodes
1D Barcodes
Running without Laravel
You can use this library without using Laravel.
Example:
License
This package is published under GNU LGPLv3
license and copyright to Victor Casanas. Original Barcode generation classes were written by Nicola Asuni. The license agreement is on project's root.
License: GNU LGPLv3
Package Author: Victor Casanas
Original Barcode Class Author: Nicola Asuni
Package Copyright: Victor Casanas
Barcode Generation Class Copyright:
Nicola Asuni
Tecnick.com LTD
www.tecnick.com