QRlib.php also does support SVG, doesn't it? https://github.com/t0k4rt/phpqrcode require_once(__DIR__.'/phpqrcode-master/qrlib.php'); echo QRcode::svg('hello');