Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zxing Bundle

Call zxing (code barre reader) with Symfony2

Requirement

This library package requires PHP 5.3 or later, java, symfony/framework-bundle ~2.1 and james2001/zxing ~1.0

Setup

  • With composer (recommended)

Add the following line to the composer.json of your project and launch composer install command

{
    "require": {
        "james001/zxing-bundle": "~1.0"
    }
}

Launch install from your project root with:

composer install --no-dev --prefer-dist

Add bundle in AppKernel.php

 $bundles = array(
 ...
new James2001\Bundle\ZxingBundle\James2001ZxingBundle(),
...
 );

Use

$imagePath = '/path/image.jpg';
$myCode = $this->get('james2001.zxing')->findFirst($imagePath);

About

QRCode reader

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages