Skip to content

Commit 2686bdc

Browse files
committed
temp
1 parent e02d597 commit 2686bdc

6,186 files changed

Lines changed: 1628929 additions & 45 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

asset/js/jquery/jquery.js

Lines changed: 10716 additions & 0 deletions
Large diffs are not rendered by default.

asset/js/jquery/jquery.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.lock

Lines changed: 47 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/autoload.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
// autoload.php @generated by Composer
4+
5+
if (PHP_VERSION_ID < 50600) {
6+
if (!headers_sent()) {
7+
header('HTTP/1.1 500 Internal Server Error');
8+
}
9+
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
10+
if (!ini_get('display_errors')) {
11+
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12+
fwrite(STDERR, $err);
13+
} elseif (!headers_sent()) {
14+
echo $err;
15+
}
16+
}
17+
throw new RuntimeException($err);
18+
}
19+
20+
require_once __DIR__ . '/composer/autoload_real.php';
21+
22+
return ComposerAutoloaderInit8de1a5a52ee5a5d2a0fad454d10b28ce::getLoader();

vendor/bacon/bacon-qr-code/LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) 2017-present, Ben Scholzen 'DASPRiD'
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
9+
2. Redistributions in binary form must reproduce the above copyright notice,
10+
this list of conditions and the following disclaimer in the documentation
11+
and/or other materials provided with the distribution.
12+
13+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
17+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
20+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# QR Code generator
2+
3+
[![PHP CI](https://github.com/Bacon/BaconQrCode/actions/workflows/ci.yml/badge.svg)](https://github.com/Bacon/BaconQrCode/actions/workflows/ci.yml)
4+
[![codecov](https://codecov.io/gh/Bacon/BaconQrCode/branch/master/graph/badge.svg?token=rD0HcAiEEx)](https://codecov.io/gh/Bacon/BaconQrCode)
5+
[![Latest Stable Version](https://poser.pugx.org/bacon/bacon-qr-code/v/stable)](https://packagist.org/packages/bacon/bacon-qr-code)
6+
[![Total Downloads](https://poser.pugx.org/bacon/bacon-qr-code/downloads)](https://packagist.org/packages/bacon/bacon-qr-code)
7+
[![License](https://poser.pugx.org/bacon/bacon-qr-code/license)](https://packagist.org/packages/bacon/bacon-qr-code)
8+
9+
10+
## Introduction
11+
BaconQrCode is a port of QR code portion of the ZXing library. It currently
12+
only features the encoder part, but could later receive the decoder part as
13+
well.
14+
15+
As the Reed Solomon codec implementation of the ZXing library performs quite
16+
slow in PHP, it was exchanged with the implementation by Phil Karn.
17+
18+
19+
## Example usage
20+
```php
21+
use BaconQrCode\Renderer\ImageRenderer;
22+
use BaconQrCode\Renderer\Image\ImagickImageBackEnd;
23+
use BaconQrCode\Renderer\RendererStyle\RendererStyle;
24+
use BaconQrCode\Writer;
25+
26+
$renderer = new ImageRenderer(
27+
new RendererStyle(400),
28+
new ImagickImageBackEnd()
29+
);
30+
$writer = new Writer($renderer);
31+
$writer->writeFile('Hello World!', 'qrcode.png');
32+
```
33+
34+
## Available image renderer back ends
35+
BaconQrCode comes with multiple back ends for rendering images. Currently included are the following:
36+
37+
- `ImagickImageBackEnd`: renders raster images using the Imagick library
38+
- `SvgImageBackEnd`: renders SVG files using XMLWriter
39+
- `EpsImageBackEnd`: renders EPS files
40+
41+
### GDLib Renderer
42+
GD library has so many limitations, that GD support is not added as backend, but as separated renderer.
43+
Use `GDLibRenderer` instead of `ImageRenderer`. These are the limitations:
44+
45+
- Does not support gradient.
46+
- Does not support any curves, so you QR code is always squared.
47+
48+
Example usage:
49+
50+
```php
51+
use BaconQrCode\Renderer\GDLibRenderer;
52+
use BaconQrCode\Writer;
53+
54+
$renderer = new GDLibRenderer(400);
55+
$writer = new Writer($renderer);
56+
$writer->writeFile('Hello World!', 'qrcode.png');
57+
```
58+
59+
## Development
60+
61+
To run unit tests, you need to have [Node.js](https://nodejs.org/en) and the pixelmatch library installed. Running
62+
`npm install` will install this for you.

0 commit comments

Comments
 (0)