modularavel/larapix

Gerar QRCODE e chave copia e cola com valor definido para pagamentos via PIX!

dev-main 2025-02-08 21:31 UTC

This package is auto-updated.

Last update: 2025-03-08 21:40:27 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Demo

Installation

You can install the package via composer:

composer require modularavel/larapix

You can publish the config file with:

php artisan vendor:publish --tag="larapix-config"

This is the contents of the published config file:

// config for Modularavel/Larapix
return [
    'valor' => env('LARAPIX_VALOR', 100), // (INTEIRO) SEM PONTOS NEM VÍRGULAS
    'chave_pix' => env('LARAPIX_CHAVE_PIX', '05542201300'), // CPF, E-MAIL, CNJP, TELEFONE OU ALEATÓRIA
    'nome_do_titular' => env('LARAPIX_NOME_DO_TITULAR', 'Casimiro Rocha'), // NOME COMPLETO DO TITULAR DA CHAVE PIX
    'cidadeDoTitularDaConta_do_titular' => env('LARAPIX_CIDADE_DO_TITULAR', 'SAO LUIS'), // SEM CARACTERES ESPECIAIS!
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="larapix-views"

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.