Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. QR Code
  3. endroid/qr-code W

endroid/qr-code W

MITPHP

A PHP library for generating QR codes in multiple formats with extensive customization options.

Visit WebsiteGitHubGitHub
4.8k stars766 forks0 contributors

What is endroid/qr-code W?

Endroid QR Code is a PHP library that enables developers to generate QR codes programmatically. It solves the problem of creating customizable, reliable QR codes in various formats (like PNG, SVG, WebP) for applications such as ticketing, marketing, or data sharing. The library includes features like logo embedding, label addition, and validation to ensure code readability.

Target Audience

PHP developers, especially those using Symfony, who need to integrate QR code generation into web applications, APIs, or backend systems. It's also suitable for projects requiring high customization or validation of generated codes.

Value Proposition

Developers choose Endroid QR Code for its robust feature set, ease of integration with Symfony via a dedicated bundle, and flexibility in output formats and customization. Its use of established underlying libraries ensures reliability, while the optional validation provides extra confidence in code readability.

Overview

PHP QR Code library that helps you create QR codes in a jiffy

Use Cases

Best For

  • Adding QR code generation to Symfony-based web applications
  • Creating customizable QR codes with embedded logos and labels
  • Generating QR codes in multiple formats (PNG, SVG, WebP, EPS)
  • Validating QR code readability before distribution
  • Integrating QR code features into PHP APIs or backend services
  • Building ticketing or marketing tools that require dynamic QR codes

Not Ideal For

  • Projects requiring real-time QR code scanning or decoding capabilities
  • Environments where the PHP GD extension is not available or cannot be installed
  • High-performance applications that need validation without significant overhead
  • Teams seeking a minimal, zero-dependency QR code solution

Pros & Cons

Pros

Multiple Output Formats

Generates QR codes in PNG, WebP, SVG, EPS, and binary formats, with writer-specific options like compression and quality settings for fine-tuned output.

High Customizability

Allows extensive adjustments including size, margin, colors, error correction, logos, and labels, as demonstrated in both builder and direct usage examples.

Symfony Bundle Integration

Includes a dedicated Symfony bundle with Twig extensions and generation routes, making configuration and usage seamless for Symfony applications.

Optional Validation Feature

Provides validation using khanamiryan/qrcode-detector-decoder to ensure QR code readability, though it's disabled by default to avoid performance hits.

Cons

Validation Slows Performance

Enabling validation significantly impacts generation speed, as admitted in the README, making it less suitable for high-volume or real-time scenarios.

GD Extension Dependency

Requires the GD extension for image generation, which can be a setup hurdle in environments where it's not installed or configurable.

External Library Reliance

Depends on bacon/bacon-qr-code and khanamiryan/qrcode-detector-decoder, introducing potential compatibility issues or lag in updates from those projects.

Frequently Asked Questions

Quick Stats

Stars4,787
Forks766
Contributors0
Open Issues7
Last commit4 months ago
CreatedSince 2012

Tags

#png#composer#twig-extension#barcode#qr-code#factory#svg#qrcode#reader#image-generation#data-uri#symfony-bundle#php

Built With

C
Composer
P
PHP
G
GD Extension
T
Twig
S
Symfony

Links & Resources

Website

Included in

QR Code144
Auto-fetched 1 day ago

Related Projects

simple-qrcode Wsimple-qrcode W

An easy-to-use PHP QrCode generator with first-party support for Laravel.

Stars2,904
Forks456
Last commit1 year ago
BaconQRCode WBaconQRCode W

QR Code Generator for PHP

Stars2,081
Forks225
Last commit2 months ago
php-qrcode-detector-decoder Rphp-qrcode-detector-decoder R

This is a PHP library to detect and decode QR-codes. This is first and only QR code reader that works without extensions.

Stars1,410
Forks322
Last commit11 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub