定制 hackzilla/barcode-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hackzilla/barcode-bundle

最新稳定版本:v2.0.0

Composer 安装命令:

composer require hackzilla/barcode-bundle

包简介

Barcode Generator Bundle

README 文档

README

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

Build Status SensioLabsInsight

Requirements

  • PHP 5.3.2

Optional

  • GD Lib
  • genbarcode

If 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:

$ 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
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Hackzilla\BarcodeBundle\HackzillaBarcodeBundle(),
    );
}

Step 3: Further documentation

统计信息

  • 总下载量: 216.96k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 4
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2013-03-21