PHPackages                             heronational/php-qrcode - 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. heronational/php-qrcode

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

heronational/php-qrcode
=======================

Générateur de QR Codes performant en PHP avec options avancées

v1.0.0(1y ago)02MITPHPPHP ^7.4

Since May 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/HeroNational/php-QrCode)[ Packagist](https://packagist.org/packages/heronational/php-qrcode)[ Docs](https://github.com/heronational/php-qrcode)[ RSS](/packages/heronational-php-qrcode/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Générateur de QR Code (php-QrCode)
==================================

[](#générateur-de-qr-code-php-qrcode)

Description
-----------

[](#description)

Application web permettant de générer des QR Codes au format vCard ou texte simple, avec une interface moderne et intuitive.

Fonctionnalités
---------------

[](#fonctionnalités)

- Génération de QR Codes :
    - Format vCard (carte de visite)
    - Format texte simple
- Export en plusieurs formats :
    - PNG (bitmap)
    - SVG (vectoriel)
    - EPS (vectoriel)
- Interface moderne avec dégradés dynamiques
- Personnalisation avancée du QR Code

Prérequis
---------

[](#prérequis)

- PHP 7.4+
- Composer
- Serveur Web (Apache, Nginx...)
- Extensions PHP :
    - GD Library
    - DOM Extension

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

[](#installation)

### Option 1 : Via Composer (recommandée)

[](#option-1--via-composer-recommandée)

```
composer require heronational/php-qrcode
```

### Option 2 : Installation manuelle

[](#option-2--installation-manuelle)

1. Cloner le dépôt :

```
git clone https://github.com/HeroNational/php-QrCode
cd php-QrCode
```

2. Installer les dépendances :

```
composer install
```

3. Configurer les permissions du dossier temp :

```
chmod 777 temp/
```

> **Note** : L'installation via Composer (Option 1) est recommandée car elle gère automatiquement les dépendances et les mises à jour.

Structure du Projet
-------------------

[](#structure-du-projet)

```
qrCode-master/
├── php/
│   └── includes/
│       ├── configs.php      # Configuration
│       ├── functions.php    # Fonctions utilitaires
│       ├── generateText.php # Générateur QR texte
│       ├── generatevCard.php# Générateur QR vCard
│       └── imports.php      # Import des librairies
├── temp/                    # QR codes générés
├── vendor/                  # Dépendances
├── composer.json
├── index.php               # Point d'entrée
└── README.md

```

Utilisation
-----------

[](#utilisation)

### une vCard

[](#une-vcard)

1. Sélectionnez l'onglet "vCard"
2. Remplissez les informations de contact
3. Choisissez le format de sortie (PNG, SVG, EPS)
4. Définissez le niveau de correction et la taille
5. Cliquez sur "Générer"

### un Texte

[](#un-texte)

1. Sélectionnez l'onglet "Texte"
2. Saisissez votre texte
3. Configurez les options de génération
4. Cliquez sur "Générer"

Options de Correction
---------------------

[](#options-de-correction)

NiveauDescriptionCorrectionLMinimal7%MStandard15%QÉlevé25%HMaximal30%### d'Export

[](#dexport)

- **PNG** : Format bitmap standard
- **SVG** : Format vectoriel web
- **EPS** : Format vectoriel impression

Sécurité
--------

[](#sécurité)

- Nettoyage des entrées utilisateur
- Protection XSS
- Validation des formats
- Gestion sécurisée des sessions

Technologies
------------

[](#technologies)

- PHP 7.4+
- Bootstrap 5
- jQuery
- Select2
- Endroid/QR-Code

Contribution
------------

[](#contribution)

1. Forkez le projet
2. Créez une branche (`git checkout -b feature/AmazingFeature`)
3. Commitez vos changements (`git commit -m 'Add AmazingFeature'`)
4. Poussez la branche (`git push origin feature/AmazingFeature`)
5. Ouvrez une Pull Request

Licence
-------

[](#licence)

Distribué sous la licence MIT. Voir `LICENSE` pour plus d'informations.

Démos
-----

[](#démos)

[![vCard](./images/vCard.png)](./images/vCard.png)

[![Text](./images/Text.png)](./images/Text.png)

Auteur
------

[](#auteur)

Jacobin Daniel Fokou - [@Jacobin Daniel Fokou](https://www.linkedin.com/in/jacobindanielfokou)

Remerciements
-------------

[](#remerciements)

- [Endroid/QR-Code](https://github.com/endroid/qr-code)
- [Bootstrap](https://getbootstrap.com)
- [Select2](https://select2.org)

---

*Dernière mise à jour : Mai 2024*

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance49

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

373d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c455c42cacf7a3f441de4603efca3964f95f54babeebf12a0e7ff73d8edeb81?d=identicon)[HeroNational](/maintainers/HeroNational)

---

Top Contributors

[![HeroNational](https://avatars.githubusercontent.com/u/52329673?v=4)](https://github.com/HeroNational "HeroNational (15 commits)")

---

Tags

phpqr codegeneratorendroidbarcode

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/heronational-php-qrcode/health.svg)

```
[![Health](https://phpackages.com/badges/heronational-php-qrcode/health.svg)](https://phpackages.com/packages/heronational-php-qrcode)
```

###  Alternatives

[amirezaeb/heroqr

A Powerful QR Code Management Library For PHP

9510.3k](/packages/amirezaeb-heroqr)[tomloprod/radiance

A deterministic mesh gradient avatar generator for PHP.

1393.7k](/packages/tomloprod-radiance)

PHPackages © 2026

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