PHP code example of james2001 / zxing-bundle
1. Go to this page and download the library: Download james2001/zxing-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
james2001 / zxing-bundle example snippets
$bundles = array(
...
new James2001\Bundle\ZxingBundle\James2001ZxingBundle(),
...
);
$imagePath = '/path/image.jpg';
$myCode = $this->get('james2001.zxing')->findFirst($imagePath);