- 授权协议: MIT
- 开发语言: PHP
- 操作系统: 跨平台
- 软件首页: https://github.com/WaitMoonMan/qr-code-plus
- 软件文档: https://github.com/WaitMoonMan/qr-code-plus
软件介绍
基于 QR Code 的二维码生成包,可以生成四色, 九色, 十六色, 背景图二维码。
Demo
安装
composer require waitmoonman/qrcodeplus
基本使用
<?php
require 'vendor/autoload.php';
use QrCodePlus\Exception\InvalidException;
use QrCodePlus\QrCodePlus;
$qrcodeplus = new QrCodePlus();
$qrcodeplus->setText('http://blog.shiguopeng.cn');
$qrcodeplus->setSize(500);
try
{
// 设置颜色, 四种或者九种或者十六种
$param = [
'#087',
'#431',
'#a2d',
'#12d',
'#098',
'#182',
'#039',
'#20d',
'#520',
];
// If you want to generate, the picture is the background
// $param = imagecreatefrompng('your.png');
$qrcodeplus->build($param);
}
catch (InvalidException $e)
{
var_dump($e->getMessage());
exit();
}
jQuery基础教程
Jonathan Chaffer、Karl Swedberg / 李松峰、卢玉平 / 人民邮电出版社 / 2009-11 / 49.00元
《jQuery基础教程(第2版)》作为《jQuery基础教程》的升级版,涵盖了jQuery 1.3的全部新特性,特别是新增了介绍jQuery UI(jQuery官方用户界面插件库)的内容。《jQuery基础教程(第2版)》前6章以通俗易懂的方式介绍了jQuery的基本概念,主要包括jQuery的选择符、事件、效果、DOM操作、AJAX支持等。随后3章从理论到实践,通过表格操作、构建功能型表单、实现......一起来看看 《jQuery基础教程》 这本书的介绍吧!
