PHPackages                             think.studio/laravel-thinkqr - 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. think.studio/laravel-thinkqr

ActiveLibrary

think.studio/laravel-thinkqr
============================

Wrapper for qrcode functionality.

1.1.0(2y ago)020MITPHPPHP ^8.1

Since Oct 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/dev-think-one/laravel-thinkqr)[ Packagist](https://packagist.org/packages/think.studio/laravel-thinkqr)[ Docs](https://github.com/dev-think-one/laravel-thinkqr)[ RSS](/packages/thinkstudio-laravel-thinkqr/feed)WikiDiscussions main Synced 1mo ago

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

Laravel think kit.
==================

[](#laravel-think-kit)

[![Packagist License](https://camo.githubusercontent.com/f63688c42f9c66632fcd17311a5f4af2c170e35fa788c68849c4a282e91ea981/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6c61726176656c2d7468696e6b71723f636f6c6f723d253233346463373166)](https://camo.githubusercontent.com/f63688c42f9c66632fcd17311a5f4af2c170e35fa788c68849c4a282e91ea981/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6c61726176656c2d7468696e6b71723f636f6c6f723d253233346463373166)[![Packagist Version](https://camo.githubusercontent.com/228803fd156513c55000cd412ae11e59dad2e604f522d03a185ad19bc34c52da/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468696e6b2e73747564696f2f6c61726176656c2d7468696e6b7172)](https://packagist.org/packages/think.studio/laravel-thinkqr)[![Total Downloads](https://camo.githubusercontent.com/8c56f2df01f5d52507344c0223a78d086c87d7bdd0837414e996f3e6ce2d0769/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468696e6b2e73747564696f2f6c61726176656c2d7468696e6b7172)](https://packagist.org/packages/think.studio/laravel-thinkqr)[![Build Status](https://camo.githubusercontent.com/aa071c3dec68ed05ed66e39c15f915d2d17ae32719fc07e22b46c3dd1c5b7213/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d7468696e6b71722f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-thinkqr/build-status/main)[![Code Coverage](https://camo.githubusercontent.com/9cf8d3c2fac43ad0b3dc4f54d72f9044d101ff6769dfa7c740005cf4731e25b5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d7468696e6b71722f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-thinkqr/?branch=main)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/02df8f16095178044e0de65cdbb085eaab277062e7ce2f4622536953d8bb1565/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d7468696e6b71722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-thinkqr/?branch=main)

Wrapper for qrcode functionality.

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

[](#installation)

Install the package via composer:

```
composer require think.studio/laravel-thinkqr
```

Optionally you can publish the config file with:

```
php artisan vendor:publish --provider="ThinkQR\ServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

```
$qrCode = \ThinkQR\QRCode::make('foo');
// or
$qrCode = \ThinkQR\QRCode::make('foo', [
    'render_size' => 300,
    'margin' => 10,
]);

$qrCode->getSvgString(); // XML svg string
$qrCode->getPngString(); // Binary png string (you can encode to base64 and use as data image)

// Save Files
$qrCode->writeSvgFile('my/path/file.svg');
$qrCode->writePngFile('my/path/file.png');
```

Create tmp image for insert to some dynamic script like pdf.

```
use ThinkQR\Image\QrCodeImageForPdf;

$pdf = new Fpdi();

$pdf->Image(QrCodeImageForPdf::make('https://example.com/foo-bar-baz', [
            'render_size' => 200,
            'margin' => 2,
        ])->filePath(), 0, 0, 30);
```

Credits
-------

[](#credits)

- [![Think Studio](https://camo.githubusercontent.com/8e541bece07d503c85a126b5294865faa00e27371048772f566a0cce8c01fd3a/68747470733a2f2f7961726f736c617777772e6769746875622e696f2f696d616765732f73706f6e736f72732f7061636b616765732f6c6f676f2d7468696e6b2d73747564696f2e706e67)](https://think.studio/)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~337 days

Total

2

Last Release

979d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/53f93fa87d58f33d106de6bd5e2946f8a345ebfaee146360746056cb134a15a0?d=identicon)[think.studio](/maintainers/think.studio)

---

Top Contributors

[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (16 commits)")

---

Tags

qrcodelaravel

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/thinkstudio-laravel-thinkqr/health.svg)

```
[![Health](https://phpackages.com/badges/thinkstudio-laravel-thinkqr/health.svg)](https://phpackages.com/packages/thinkstudio-laravel-thinkqr)
```

###  Alternatives

[laravolt/avatar

Turn name, email, and any other string into initial-based avatar or gravatar.

2.0k5.4M31](/packages/laravolt-avatar)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[laragear/two-factor

On-premises 2FA Authentication for out-of-the-box.

339785.3k8](/packages/laragear-two-factor)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

295.1k](/packages/linkxtr-laravel-qrcode)

PHPackages © 2026

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