Download the PHP package jeeven/qrcode without Composer

On this page you can find all versions of the php package jeeven/qrcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package qrcode

jeeven/qrcode

A modern Laravel package for generating QR codes — PNG, SVG, WebP, Base64 data URIs, and direct HTTP responses. Built on top of endroid/qr-code v6.

Requires PHP 8.1+ and Laravel 10, 11, 12, or 13.

Installation

Laravel auto-discovers the service provider and QrCode facade — no manual registration needed.

Optionally publish the config file:

Usage

Basic

Fluent options

Base64 data URI (embed directly in HTML <img>)

Direct HTTP response (streams the image)

Save to disk

With a label

With a logo overlay

Built-in HTTP endpoint

The package registers GET /qrcode/{data} (configurable prefix) when qrcode.route.enabled is true in config.

Query params: size, margin, format, error_correction, color, background_color.

Disable this route entirely by setting route.enabled to false in config/qrcode.php, or by publishing the config and adjusting it per environment.

Configuration reference (config/qrcode.php)

Key Default Description
size 300 QR code width/height in pixels
margin 10 Quiet-zone margin in pixels
format png png, svg, webp, or eps
error_correction high low, medium, quartile, high
color #000000 Foreground hex color
background_color #ffffff Background hex color
route.enabled true Toggle the built-in HTTP endpoint
route.prefix qrcode URL prefix for the endpoint
route.middleware ['web'] Middleware applied to the route

API

Jeeven\QrCode\QrCodeGenerator (accessible via the QrCode facade or DI):

Method Description
make(string $data) Start a new QR code (static)
data(string $data) Set/override the data
size(int $size) Set pixel size
margin(int $margin) Set margin
format(string $format) png|svg|webp|eps
errorCorrection(string $level) low|medium|quartile|high
color(string $hex) Foreground color
backgroundColor(string $hex) Background color
label(string $text, int $fontSize = 16) Add caption text below the code
logo(string $path, ?int $size = 60) Overlay a logo image
generate() Returns raw endroidResultInterface
toString() Raw string/binary output
toPng() / toSvg() / toWebp() Format-specific string output
toBase64() Base64 data URI
save(string $path) Write to disk
toResponse() Symfony/Laravel HTTPResponse

Testing

License

MIT


All versions of qrcode with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
endroid/qr-code Version ^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jeeven/qrcode contains the following files

Loading the files please wait ...