Recently, due to the need for work, I studied how PHP generates barcodes. Although QR codes are popular nowadays, barcodes are still widely used and cannot be substituted. There are a lot of things in the garden that use PHP to generate barcodes, basically all around Barcode bakery, although it is powerful, but the business support is not friendly, the source code download is limited to study. To avoid the legal aspects of the problem, today we recommend an open source free class library. Php-barcode business support is good, for the general application function is enough. The website also provides an online example to experience its powerful features. Click here to download the latest version from the official website.
After downloading the first run up, the following is my configuration situation:
1) unzip the downloaded package
2) Move the extracted files to the root of the website (~/projects/test-barcode.com/)
3) Open all of the PHP files and modify the PHP declaration label. will be modified into
4) Visit the virtual site, http://localhost:8090/barcode.php, you can see the bar code.
More detailed use of the introduction, I will take the time to update up ~ ~
The above describes the use of Php-barcode easy to generate barcodes (a), including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.