PHPackages                             gonzalo123/qrserviceprovider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. gonzalo123/qrserviceprovider

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gonzalo123/qrserviceprovider
============================

QR code service provider for silex using endroid/qrcode

121753PHP

Since Feb 18Pushed 11y ago2 watchersCompare

[ Source](https://github.com/gonzalo123/qrserviceprovider)[ Packagist](https://packagist.org/packages/gonzalo123/qrserviceprovider)[ RSS](/packages/gonzalo123-qrserviceprovider/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Qr code service provider for silex
==================================

[](#qr-code-service-provider-for-silex)

[![Build Status](https://camo.githubusercontent.com/6ab777afbf869b10cdac4a7822350212a55b7c767aeefc3cfa9f84fb6613307a/68747470733a2f2f7472617669732d63692e6f72672f676f6e7a616c6f3132332f71727365727669636570726f76696465722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/gonzalo123/qrserviceprovider)

Requirements
------------

[](#requirements)

- Dependencies:
- [`QrCode`](https://github.com/endroid/QrCode)

Installation
------------

[](#installation)

### Add in your composer.json

[](#add-in-your-composerjson)

```
{
    "require": {
        "gonzalo123/qrserviceprovider": "dev-master"
    }
}
```

Example
-------

[](#example)

```
use Silex\Application;
use G\QrServiceProvider;

$app = new Application();

$app->register(new QrServiceProvider(), [
    'qr.defaults' => [
        'padding'   => 5, // default: 0
        'size'      => 200,
        'imageType' => 'png', // png, gif, jpeg, wbmp (default: png)
    ]
]);

$app->get("/qr/base64/{text}", function($text) use ($app) {
    return $app['qrCode'](base64_decode($text))->getResponse();
});

$app->get("/qr/{text}", function($text) use ($app) {
    return $app['qrCode']($text)->getResponse();
});

$app->run();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c5bcdeee0f7e214945e0d27310df0ad487e7d1ec10a8d4341dbdcabfac58f2f7?d=identicon)[gonzalo123](/maintainers/gonzalo123)

---

Top Contributors

[![gonzalo123](https://avatars.githubusercontent.com/u/39072?v=4)](https://github.com/gonzalo123 "gonzalo123 (24 commits)")

### Embed Badge

![Health badge](/badges/gonzalo123-qrserviceprovider/health.svg)

```
[![Health](https://phpackages.com/badges/gonzalo123-qrserviceprovider/health.svg)](https://phpackages.com/packages/gonzalo123-qrserviceprovider)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
