The first step: landing official website GitHub search qr -image. Click -> the instructions to install qr-image library
<ignore_js_op>
Step: mounting qr-image library
[PHP]
plain text view Copy the code
1
|
npm install qr-image
|
Successful installation tips are as follows :( version numbers may be different, the default date)
<ignore_js_op>
The third step: write the template code
<ignore_js_op>
Step four: writing server code
<ignore_js_op>
renderings as follows:
<ignore_js_op>
More technical information may concern: gzitcast