定制 messer/pix 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

messer/pix

最新稳定版本:1.0.1

Composer 安装命令:

composer require messer/pix

包简介

PHP Library to generate Pix image and string by Gustavo Ramad Messer

README 文档

README

License: MIT

This is a library developed by Gustavo Ramad Messer for Symfony with the goal of generating random Pix keys in image and text formats (Pix copy and paste), using the open source gerarqrcodepix API.

Installation

Use the composer to install:

composer require messer/pix

Usage

Using Messer Pix to get a pix string key.

use Messer\Pix\Pix;

$pix = new Pix();

$data = [
    'name' => 'Gustavo Ramad Messer',
    'city' => 'Santos',
    'key' => 'gustavoramadmesser',
    'value' => '77.77',
    'description' => 'Pix String Test',
    'output' => 'string', // optional (default: string)
    'destiny' => '', // optional (public path)
];

$pixResponse = $pix->generate($data);

Using Messer Pix to get a pix qr code image.

use Messer\Pix\Pix;

$pix = new Pix();

$data = [
    'name' => 'Gustavo Ramad Messer', // required
    'city' => 'Santos', // required
    'key' => 'gustavoramadmesser', // required
    'value' => '77.77', // optional
    'description' => 'Pix Image Test', // optional
    'output' => 'image', // optional (default: string)
    'destiny' => '', // optional (public path)
];

$pixResponse = $pix->generate($data);

License

MIT

Copyright © 2023 Gustavo Ramad Messer

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-14