wandesnet/qrcode-pix-laravel
最新稳定版本:1.0.2
Composer 安装命令:
composer require wandesnet/qrcode-pix-laravel
包简介
Generate QRCode Pix in Laravel
README 文档
README
Este pacote foi implementado inspirado no repositório do Renato Monteiro Batista disponível aqui
O objetivo deste pacote é facilitar a geração de QRCode para pagamentos via PIX.
Required
- PHP 8.1+
- Laravel 10.0+
Instalação via composer
composer require wandesnet/qrcode-pix-laravel
Usage
use WandesCardoso\Pix\Facades\Pix; use WandesCardoso\Pix\Enums\TypeKey; $pix = Pix::make( typeKey: TypeKey::EMAIL, key: 'wandes2030@gmail.com', amount: 12, recipient: 'Wandes Cardoso', identification: '12345678901', city: 'Corrente', description: 'Pagamento do pedido', isUniquePayment: false ); $pix->getQrCode(); //gera a imagem do QRCode em base64 $pix->generateCopyPasteCode(); //gera o código copiar e colar
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email wandes2030@gmail.com instead of using the issue tracker.
Tests
./vendor/bin/pest
License MIT. Please see the license file for more information.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-20