Download the PHP package dynamsoftsamples/php-barcode-com-component without Composer
On this page you can find all versions of the php package dynamsoftsamples/php-barcode-com-component. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dynamsoftsamples/php-barcode-com-component
More information about dynamsoftsamples/php-barcode-com-component
Files in dynamsoftsamples/php-barcode-com-component
Package php-barcode-com-component
Short Description Dynamsoft Barcode Reader SDK for PHP - Implement Barcode Recognition to Your App
License Apache-2.0
Homepage http://www.dynamsoft.com/Products/Dynamic-Barcode-Reader.aspx
Informations about the package php-barcode-com-component
PHP Barcode COM Component
This is the COM component for making PHP barcode reader.
Getting Started
-
Create a new project named test. Under the project root directory, create two php files - test.php and readbarcode.php. Then copy dynamsoftbarcodereader.php from the SDK package to the project folder.
-
Edit test.php as follows:
Edit readbarcode.php as follows:
Please replace < your license key here > with valid values. The licenses can be found in the [INSTALL FOLDER]\LicenseManager.exe.
-
Suppose you deploy the sample to WampServer, please copy test folder to [WampServer ROOT PATH]\www folder. Start your WampServer and visit http://[ip]:[port]/test/test.php to verify if it works.
Note: If you recieve the "Class 'COM' not found" error, please check whether the COM extension is enable in php.ini: