PHP QR code is Open Source (LGPL) generator for 2-D QR barcode, supports PNG export of code and TCPDF bindings.