Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hackzilla/barcodebundle
Barcode Generator for Symfony2
https://github.com/hackzilla/barcodebundle
Last synced: about 2 months ago
JSON representation
Barcode Generator for Symfony2
- Host: GitHub
- URL: https://github.com/hackzilla/barcodebundle
- Owner: hackzilla
- Created: 2013-03-16T18:43:55.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T13:01:26.000Z (about 6 years ago)
- Last Synced: 2024-10-13T12:44:36.995Z (2 months ago)
- Language: PHP
- Homepage: http://hackzilla.org
- Size: 198 KB
- Stars: 10
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Barcode Bundle
==============Generate barcodes as html, image or text.
Fork of Folke Ashberg's PHP Barcode v0.4 [http://www.ashberg.de/php-barcode/]
For usage and examples see: [Examples](Resources/doc/index.md)
[![Build Status](https://travis-ci.org/hackzilla/BarcodeBundle.png?branch=master)](https://travis-ci.org/hackzilla/BarcodeBundle)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/50162040-3677-46d3-a99a-aea600924eb1/mini.png)](https://insight.sensiolabs.com/projects/50162040-3677-46d3-a99a-aea600924eb1)### Requirements
* PHP 5.3.2
#### Optional
* GD Lib
* genbarcodeIf you want to generate not only EAN-12/EAN-13/ISBN-Codes you have to install
genbarcode, a small unix-commandline tool which uses GNU-Barcode.
genbarcode is available http://www.ashberg.de/php-barcode , read genbarcodes
README for installation.
If you have installed genbarcode not to ```/usr/local/bin``` call ```$barcode->setGenbarcodeLocation('/usr/local/bin/genbarcode')```### Step 1: Installation
Install Composer
```
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
```Now tell composer to download the bundle by running the command:
``` bash
$ composer require hackzilla/barcode-bundle ~2.0
```Composer will add the bundle to your composer.json file and install it into your project's `vendor/hackzilla` directory.
### Step 2: Enable the bundle
Enable the bundle in the kernel:
``` php