Download the PHP package wutongshenyuan/qrcode_prettify without Composer

On this page you can find all versions of the php package wutongshenyuan/qrcode_prettify. 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_prettify

二维码美化

二维码美化方案: 1 修改前景色背景色 已实现 2 用图片做前景背景,动图会更炫 已实现前景图 3 添加logo 已实现 4 码眼换成其它图案,只要保证其遮盖面积与使用深色系, 就不会影响识别,只在液化效果中更换了码眼,未单独实现更换码眼 5 放一些小动物在黑色方块上 未实现 6 黑色方块改成小圆点 已实现 7 黑色方块液化效果 已实现

使用方法 usage

通过设置QrcodeOptions参数可以实现多种效果

修改前景色 背景色 change foreground-color and background-color

$opt->setForegroundColor(new RGBA(0,255,0));

$opt->setBackgroundColor(new RGBA(255,255,0));

添加logo add logo

$opt->setLogo(logourl);

使用图片做前景 use a picture for foreground

注意:使用前景图片,会忽略前景色,背景色 就是会忽略setForegroundColor和setBackgroundColor

$opt->setForegroundImg(Foreground::FOREGROUND_IMG_BEAUTY);

此软件包内置了一些前景图,可以通过Foreground类常量来调用,也可以传入自己的前景图url地址。 内置的前景图在src\Foreground\ForegroundImages目录下,sample目录下与前景图同名文件是其对应的效果,可以按需选用

圆点效果 dot effect

RADIUS_LEVEL_x 用来控制圆弧半径的大小,分为十个等级, 当为RADIUS_LEVEL_10的时候,会完全变成圆点,其它的等级, 会显示圆角 $opt->setDotRadius(QrcodeOptions::RADIUS_LEVEL_10);

液化效果 liquid effect

RADIUS_LEVEL_x,同理也是用来控制液化程度的 $opt->setLiquidRadius(QrcodeOptions::RADIUS_LEVEL_10);

渐变色二维码

当然,各种效果是可以组合使用的


All versions of qrcode_prettify with dependencies

PHP Build Version
Package Version
Requires php Version >=7.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 wutongshenyuan/qrcode_prettify contains the following files

Loading the files please wait ....