Download the PHP package amirezaeb/heroqr without Composer

On this page you can find all versions of the php package amirezaeb/heroqr. 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?
amirezaeb/heroqr
Rate from 1 - 5
Rated 4.75 based on 8 reviews

Informations about the package heroqr

HeroQR - QR Code Library for PHP

Latest Version Total Downloads Tests PHP Version License

HeroQR is a PHP library for generating and customizing QR codes with full control over styling and multi-format output, while remaining ISO/IEC 18004 compliant.

Table of Contents

Features

Getting Started

1. Installation

Use Composer to install the library. Also make sure you have enabled and configured the GD extension if you want to generate images.

2. Basic Usage

Example:

The saveTo() method automatically resolves and appends the appropriate file extension based on the selected output format.

3. Advanced Customization

Advanced configuration options for full control over QR code generation and validation.

Granular Customization: Fine-tune colors, size, logos, and typography.
Smart Validation: Use the optional DataType to automatically validate inputs like URL, Email, Phone, Wi-Fi, and more.

Example:

4. Customizing Shapes, Markers, and Cursors

HeroQR supports custom styling for QR modules, corner markers, and alignment cursors.

This feature is available for PNG and SVG output formats.

Available Options:

Example:

Examples

Combination Shape (Body) Marker (Corner) Cursor (Inner) Preview
S1-M1-C1 Square (Default) Square (Default) Square (Default) View
S2-M2-C2 Circle (Custom) Circle (Custom) Circle (Custom) View
S3-M3-C3 Star (Custom) D-Drop-O (Custom) D-Drop-O (Custom) View
S4-M4-C4 Diamond (Custom) D-Drop-I (Custom) D-Drop-I (Custom) View
S4-M5-C5 Diamond (Custom) D-Drop-IO (Custom) D-Drop-IO (Custom) View
S4-M6-C6 Diamond (Custom) Square-O (Custom) Square-O (Custom) View

5. Advanced Output Options

HeroQR supports multiple output formats for flexible usage in web, CLI, and custom rendering environments.

Available Outputs

Example:

Project Structure

HeroQR follows a modular architecture designed for scalability and maintainability.

Module Overview:

Support & Sponsorship

If HeroQR is useful in your projects, you can support its development by:

GRAM (TON)

USDT (TRC-20)

TEbQ2K3kWF1TjE4yRuqp6hTH8FRr7n7xGX

Organizations interested in sponsoring HeroQR or featuring their brand in the documentation may contact us via the Contact section.

Contributing

Contributions are welcome.

  1. Fork the repository.
  2. Create a feature or bugfix branch.
  3. Implement your changes and add tests when necessary.
  4. Commit your changes using the Conventional Commits format.
  5. Push your branch and open a Pull Request.

Example:

Please provide a clear description of your changes and reference any related issues (e.g. Fixes #123).

License

HeroQR is open-sourced software licensed under the MIT License.

Contact

For inquiries, feedback, or collaborations, feel free to reach out via any of the following channels:


All versions of heroqr with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
endroid/qr-code Version ^6.0
ext-gd Version *
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 amirezaeb/heroqr contains the following files

Loading the files please wait ...