Download the PHP package bitgrave/barcode-bundle without Composer

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

Informations about the package barcode-bundle

Introduction

This Bundle provide barcode rendering using our barcode generator base library https://github.com/paterik/BGBarcodeGenerator supports ImageMagick/GDLib based image rendering, svg and html table drawn output of the following 1D/2D bar codes:

1d barcodes

2d barcodes

Prerequisites

This version requires Symfony 2.1

Installation

1 - Add the following lines in your composer.json:

for latest symfony 3.n kernel / framework environment:

_legacy symfony 2.1.n kernel? user version prior 1.0.0:

2 - Run the composer to download the bundle

3 - Add this bundle to your application's kernel:

Usage

1 - Add the following lines in your controller if you want to use both code types (1d/2d) :

2 - set the cache path (for image based barcode rendering) call the image- or html renderer including your code and barcode type :

3 - fetch image by parse $bcPathAbs (absolute path to rendered barcode image) or using this a simple helper method

4 - send public path to your symfony view and put result into your image src path or just render out the alternative table based barcode html structure

How To Contribute

To contribute changes, fixes, additions/features please open a pull request with your new code. please take not, that if you add new features or modify existing ones you have to doc this in projects README file (also update projects CHANGELOG file!)

License

See: resources/meta/LICENSE


All versions of barcode-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^5.5 || ^5.6 || ^7.0
symfony/dependency-injection Version ^2.1 || ^3.0 || ^4.0 || ^4.1
symfony/http-kernel Version ^2.1 || ^3.0 || ^4.0 || ^5.1
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 bitgrave/barcode-bundle contains the following files

Loading the files please wait ....