Code source du service
Go to file
2023-08-08 12:16:26 +00:00
css Move temp/ to css/ and remove old unused code 2021-11-03 19:48:30 +01:00
locales locales/en.php: "software" is uncountable 2023-07-07 19:15:11 +02:00
themes Ajout du thème Chapril 2023-08-08 09:51:40 +00:00
vendor Update composer dependencies 2023-07-07 22:33:10 +02:00
.gitignore Use composer and change QR code generation library 2022-05-30 17:50:46 +02:00 Release 2.0.1 2023-07-08 18:48:26 +02:00
composer.json Use tabs instead of spaces, better indentation 2022-05-30 20:16:36 +02:00 ajout d'un lien du dépôt avec les modifications 2023-08-08 12:16:26 +00:00
index.php Ajout de la bannière Chapril et du logo 2023-08-08 09:51:40 +00:00
LICENSE D 2019-08-13 21:17:08 +02:00
LICENSE.html Use tabs instead of spaces, better indentation 2022-05-30 20:16:36 +02:00 Release 2.0.1 2023-07-08 18:48:26 +02:00
style.less Use tabs instead of spaces, better indentation 2022-05-30 20:16:36 +02:00


A PHP Web interface for generating QR codes.


A LibreQR instance is available at



Just place this source code in a Web server with PHP8.0+, extensions gd, mbstring and iconv, and writing rights on the css/ directory.

Security hardening

HTTP headers

Your HTTP server can reply the following headers:

Content-Security-Policy: default-src 'none'; img-src 'self' data:; style-src 'self'; frame-ancestors 'none'; form-action 'self';
Referrer-Policy: no-referrer
PHP-FPM chroot

LibreQR can be chrooted using PHP-FPM.


There is a package for YunoHost.

For historical reasons, LibreQR is technically named qr in YunoHost.

You can install it from the WebAdmin or with this command:

sudo yunohost app install qr


Themes are located in themes/*, the default theme is in themes/libreqr/.

You can customize your LibreQR instance look by changing the colors in theme.php, the logo in logo.less or the icons in icons/<size>.png (then list the sizes in theme.php).


The public forge is You can open issues and pull requests there.


You can add your translations in locales/<language-code>.php.


You can get my contact details on, feel free to use them if you want more informations about using or contributing to LibreQR.


LibreQR is published under AGPLv3+. Librairies located in the vendor subdirectory use their own licenses.

LibreQR is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

LibreQR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see