PHPackages                             jocic/qr-codes - 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. [Security](/categories/security)
4. /
5. jocic/qr-codes

ActiveLibrary[Security](/categories/security)

jocic/qr-codes
==============

Library for generating QR codes both locally and remotely.

01PHP

Since Jan 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jocic/PHP.QrCodes)[ Packagist](https://packagist.org/packages/jocic/qr-codes)[ RSS](/packages/jocic-qr-codes/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

QR Codes
========

[](#qr-codes)

[![Build Status](https://camo.githubusercontent.com/a9f401f7891aff2c7a864ef39a581a13a3312de5f953007a35bf0df1c560bcde/68747470733a2f2f7472617669732d63692e6f72672f6a6f6369632f5048502e5172436f6465732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jocic/PHP.QrCodes) [![Coverage Status](https://camo.githubusercontent.com/d1918c3c4bc069d555149216c08ee39d5f6d65029802d9f63876d4f72c09af87/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6a6f6369632f5048502e5172436f6465732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/jocic/PHP.QrCodes?branch=master) [![Codacy Badge](https://camo.githubusercontent.com/8ed2f00259191459199afb1e2fc1c96e67f89beb47cbbf7919f9da7137592e7a/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3763666365643134353439363462643861316362306566303133346565633136)](https://www.codacy.com/app/jocic/PHP.QrCodes?utm_source=github.com&utm_medium=referral&utm_content=jocic/PHP.GoogleAuthenticator&utm_campaign=Badge_Grade) [![Latest Stable Version](https://camo.githubusercontent.com/25f6dce2958ee1fdd25d24030dd6eb6370760fca867a6d4ead34c12346cd7fb5/68747470733a2f2f706f7365722e707567782e6f72672f6a6f6369632f71722d636f6465732f762f737461626c65)](https://packagist.org/packages/jocic/qr-codes) [![License](https://camo.githubusercontent.com/8dfea02c63f04faf06a52f7fa7eede43ad377812e399d7268294810586d8c3cd/68747470733a2f2f706f7365722e707567782e6f72672f6a6f6369632f71722d636f6465732f6c6963656e7365)](https://packagist.org/packages/jocic/qr-codes)

QR Codes is a PHP library providing a simple API for generating QR codes both locally and remotely.

[![Buy Me Coffee](images/buy-me-coffee.png)](https://www.paypal.me/DjordjeJocic)

**Project is still under development...slow ride...take it easy...**

Versioning Scheme
-----------------

[](#versioning-scheme)

I use a 3-digit [Semantic Versioning](https://semver.org/spec/v2.0.0.html) identifier, for example 1.0.2. These digits have the following meaning:

- The first digit (1) specifies the MAJOR version number.
- The second digit (0) specifies the MINOR version number.
- The third digit (2) specifies the PATCH version number.

Complete documentation can be found by following the link above.

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

[](#requirements)

You only need to have PHP &gt;=7.0 available on your system to use **QR Codes** in your application. However, for running unit tests, you need to have the following extensions installed:

- [Multibyte String](https://secure.php.net/manual/en/book.mbstring.php)
- [DOM](https://secure.php.net/manual/en/dom.setup.php)

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

[](#installation)

There's two ways you can add **QR Codes** library to your project:

- Copying files from the "source" directory to your project and requiring the "Autoload.php" script
- Via Composer, by executing the command below

```
composer require jocic/qr-codes dev-master
```

Tests
-----

[](#tests)

Following unit tests are available:

- **Essentials** - Tests for library's essential elements.

You can execute them easily from the terminal like in the example below.

```
bash ./scripts/phpunit.sh --testsuite essentials
```

Please don’t forget to install necessary dependencies before attempting to do the God's work above. They may be important.

```
bash ./scripts/composer.sh install
```

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

[](#contribution)

Please review the following documents if you are planning to contribute to the project:

- [Contributor Covenant Code of Conduct](code-of-conduct.md)
- [Contribution Guidelines](contributing.md)
- [Pull Request Template](pull-request-template.md)
- [MIT License](license.md)

Integration
-----------

[](#integration)

My hourly rate is fairly reasonable so, if you need help with integrating **QR Codes** to your existing project, feel free to contact me via the email below.

Integration inquiries:

Support
-------

[](#support)

Please don't hesitate to contact me if you have any questions, ideas, or concerns.

My Twitter account is: [@jocic\_91](https://www.twitter.com/jocic_91)

My support E-Mail address is:

Copyright &amp; License
-----------------------

[](#copyright--license)

Copyright (C) 2018 Đorđe Jocić

Licensed under the MIT license.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b022fe84b009f3dcc944f03764d393cbda99123867e1bc7fefa6b1d93919b1d?d=identicon)[jocic](/maintainers/jocic)

---

Top Contributors

[![jocic](https://avatars.githubusercontent.com/u/10118993?v=4)](https://github.com/jocic "jocic (27 commits)")

---

Tags

libraryphpqr-codesqr-generatorsecurity

### Embed Badge

![Health badge](/badges/jocic-qr-codes/health.svg)

```
[![Health](https://phpackages.com/badges/jocic-qr-codes/health.svg)](https://phpackages.com/packages/jocic-qr-codes)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)

PHPackages © 2026

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