News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Gonzalo Ayuso:
Creating QR codes with PHP and Silex
September 03, 2013 @ 10:46:53

Gonzalo Ayuso has posted a tutorial showing you how to use Silex and the endroid/qrcode library to make a simple QR code generation site.

Today we're going to play with QR codes and how to use them within a Silex application using one Service Provider. First we need a QR code generator. If we find in Packagist we can see various libraries. We are going to use the library: endroid/qrcode. We are not going to modify endroid/qrcode, because of that we will create a wrapper. This wrapper will receive in the constructor one instance of endroid/qrcode.

His example includes both the code for the endpoint and a unit test for the "QrWrapper" class. The Silex structure has two endpoints - register

0 comments voice your opinion now!
qrcode tutorial silex generate

Link: http://gonzalo123.com/2013/09/02/creating-qr-codes-with-php-and-silex

blog comments powered by Disqus

Similar Posts

Jeroen van Dijk: Multi-select faceting in Solr with Solarium

Abhinav Singh's Blog: Get real time system & server load notification on any IM using PHP and XMPP

PHPMaster.com: Form Validation with PHP

PHPBuilder.com: Boost PHP Site Performance with Zend Framework Data Caching

Alan Knowles' Blog: Getting Started with HTML_FlexyFramework, DataObjects and HTML_Template_Flexy


Community Events





Don't see your event here?
Let us know!


framework version release symfony language tool introduction opinion update composer community voicesoftheelephpant library package series security laravel application podcast interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework