Download the PHP package milon/barcode without Composer

On this page you can find all versions of the php package milon/barcode. 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?
milon/barcode
Rate from 1 - 5
Rated 5.00 based on 1 reviews

Informations about the package barcode

Packagist Downloads Stable version License

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.

Read More on TCPDF website

This package is compatible with Laravel 4.* , 5.*, 6.*, 7.*, 8.*, 9.* and 10.*

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 , jpeg 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


All versions of barcode with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3 | ^8.0
illuminate/support Version ^7.0|^8.0|^9.0|^10.0 | ^11.0
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 milon/barcode contains the following files

Loading the files please wait ....