Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing mutliple QROptions #10

Merged
merged 1 commit into from Dec 14, 2021
Merged

Allow passing mutliple QROptions #10

merged 1 commit into from Dec 14, 2021

Commits on Dec 14, 2021

  1. Allow passing mutliple QROptions

    I have seen #7 which is great 馃憤馃徏 
    However, it would be more efficient passing all the options according to the user needs (since QROptions has multiple options).
    Also, this allows the user to utilize any added features to the `chillerlan\QRCode` package in the future 馃挕 
    
    An example for scale would be:
    ```php
    $displayQRCodeAsBase64 = GenerateQrCode::fromArray([
    .....
    ])->render(['scale' => 3]);
    ```
    
    PS. Thanks for this simple yet elegant solution .. you saved a lot of time for many developers including myself 鉂わ笍
    ali-alharthi committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    a80ee46 View commit details
    Browse the repository at this point in the history