Download the PHP package snowsoft/barcode without Composer
On this page you can find all versions of the php package snowsoft/barcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download snowsoft/barcode
More information about snowsoft/barcode
Files in snowsoft/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/Milon/Barcode/Datamatrix.php (include/barcodes/datamatrix.php)
- src/Milon/Barcode/DNS1D.php (tcpdf_barcodes_1d.php)
- src/Milon/Barcode/DNS2D.php (tcpdf_barcodes_2d.php)
- src/Milon/Barcode/PDF417.php (include/barcodes/pdf417.php)
- src/Milon/Barcode/QRcode.php (include/barcodes/qrcode.php)
This package is compatible with Laravel 4.*
, 5.*
, 6.*
, 7.*
, 8.*
and 9.*
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 milon/barcode
.
For Laravel 8.* use this-
For Laravel 7.* use this-
For Laravel 6.* use this-
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 Nuruzzaman Milon. Original Barcode generation classes were written by Nicola Asuni. The license agreement is on project's root.
Buy me a coffee ☕
License: GNU LGPLv3
Package Author: Nuruzzaman Milon
Original Barcode Class Author: Nicola Asuni
Package Copyright: Nuruzzaman Milon
Barcode Generation Class Copyright:
Nicola Asuni
Tecnick.com LTD
www.tecnick.com