Skip to content

Commit

Permalink
qrcode variavel
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardokum committed Jan 19, 2024
1 parent 95942d3 commit 9d3e2b5
Show file tree
Hide file tree
Showing 76 changed files with 802 additions and 771 deletions.
6 changes: 3 additions & 3 deletions exemplos/bancoob_boleto.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'cep' => '99999-999',
Expand All @@ -10,7 +10,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -22,7 +22,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Bancoob([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '756.png',
'dataVencimento' => new \Carbon\Carbon(),
'dataVencimento' => new Carbon\Carbon(),
'valor' => 100,
'multa' => false,
'juros' => false,
Expand Down
8 changes: 4 additions & 4 deletions exemplos/bancoob_remessa.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'cep' => '99999-999',
Expand All @@ -10,7 +10,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -22,7 +22,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Bancoob([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '756.png',
'dataVencimento' => new \Carbon\Carbon(),
'dataVencimento' => new Carbon\Carbon(),
'valor' => 100,
'multa' => false,
'juros' => false,
Expand All @@ -40,7 +40,7 @@
'especieDoc' => 'DM',
]);

$remessa = new \Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Bancoob([
$remessa = new Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Bancoob([
'agencia' => 1111,
'conta' => 22222,
'carteira' => 1,
Expand Down
2 changes: 1 addition & 1 deletion exemplos/bancoob_retorno.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'autoload.php';

$retorno = \Eduardokum\LaravelBoleto\Cnab\Retorno\Factory::make(__DIR__ . DIRECTORY_SEPARATOR . 'arquivos' . DIRECTORY_SEPARATOR . 'bancoob.ret');
$retorno = Eduardokum\LaravelBoleto\Cnab\Retorno\Factory::make(__DIR__ . DIRECTORY_SEPARATOR . 'arquivos' . DIRECTORY_SEPARATOR . 'bancoob.ret');
$retorno->processar();

echo $retorno->getBancoNome();
Expand Down
6 changes: 3 additions & 3 deletions exemplos/banrisul_boleto.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'cep' => '99999-999',
Expand All @@ -10,7 +10,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -22,7 +22,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Banrisul([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '041.png',
'dataVencimento' => new \Carbon\Carbon(),
'dataVencimento' => new Carbon\Carbon(),
'valor' => 100,
'multa' => false,
'juros' => false,
Expand Down
8 changes: 4 additions & 4 deletions exemplos/banrisul_remessa.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'cep' => '99999-999',
Expand All @@ -10,7 +10,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -22,7 +22,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Banrisul([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '041.png',
'dataVencimento' => new \Carbon\Carbon(),
'dataVencimento' => new Carbon\Carbon(),
'valor' => 100,
'multa' => false,
'juros' => false,
Expand All @@ -40,7 +40,7 @@
'especieDoc' => 'DM',
]);

$remessa = new \Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Banrisul([
$remessa = new Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Banrisul([
'agencia' => 1111,
'conta' => 22222,
'carteira' => 1,
Expand Down
2 changes: 1 addition & 1 deletion exemplos/banrisul_retorno.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'autoload.php';

$retorno = \Eduardokum\LaravelBoleto\Cnab\Retorno\Factory::make(__DIR__ . DIRECTORY_SEPARATOR . 'arquivos' . DIRECTORY_SEPARATOR . 'banrisul.ret');
$retorno = Eduardokum\LaravelBoleto\Cnab\Retorno\Factory::make(__DIR__ . DIRECTORY_SEPARATOR . 'arquivos' . DIRECTORY_SEPARATOR . 'banrisul.ret');
$retorno->processar();

echo $retorno->getBancoNome();
Expand Down
6 changes: 3 additions & 3 deletions exemplos/bb_boleto.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -11,7 +11,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -23,7 +23,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Bb([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '001.png',
'dataVencimento' => new \Carbon\Carbon(),
'dataVencimento' => new Carbon\Carbon(),
'valor' => 100,
'multa' => false,
'juros' => false,
Expand Down
8 changes: 4 additions & 4 deletions exemplos/bb_remessa.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'cep' => '99999-999',
Expand All @@ -10,7 +10,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -22,7 +22,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Bb([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '001.png',
'dataVencimento' => new \Carbon\Carbon(),
'dataVencimento' => new Carbon\Carbon(),
'valor' => 100,
'multa' => false,
'juros' => false,
Expand All @@ -38,7 +38,7 @@
'especieDoc' => 'DM',
]);

$remessa = new \Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Bb([
$remessa = new Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Bb([
'agencia' => 1111,
'carteira' => 11,
'conta' => 999999999,
Expand Down
8 changes: 4 additions & 4 deletions exemplos/bb_remessa_extendida.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'cep' => '99999-999',
Expand All @@ -10,7 +10,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -22,7 +22,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Bb([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '001.png',
'dataVencimento' => new \Carbon\Carbon(),
'dataVencimento' => new Carbon\Carbon(),
'valor' => 100,
'multa' => false,
'juros' => false,
Expand All @@ -39,7 +39,7 @@
'chaveNfe' => '12345678901234567890123456789012345678901234',
]);

$remessa = new \Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Bb([
$remessa = new Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Bb([
'agencia' => 1111,
'carteira' => 11,
'conta' => 999999999,
Expand Down
2 changes: 1 addition & 1 deletion exemplos/bb_retorno.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$retorno = \Eduardokum\LaravelBoleto\Cnab\Retorno\Factory::make(__DIR__ . DIRECTORY_SEPARATOR . 'arquivos' . DIRECTORY_SEPARATOR . 'bb.ret');
$retorno = Eduardokum\LaravelBoleto\Cnab\Retorno\Factory::make(__DIR__ . DIRECTORY_SEPARATOR . 'arquivos' . DIRECTORY_SEPARATOR . 'bb.ret');
$retorno->processar();

echo $retorno->getBancoNome();
Expand Down
6 changes: 3 additions & 3 deletions exemplos/bnb_boleto.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'cep' => '99999-999',
Expand All @@ -10,7 +10,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -22,7 +22,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Bnb([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '004.png',
'dataVencimento' => \Carbon\Carbon::createFromDate(2017, 04, 03),
'dataVencimento' => Carbon\Carbon::createFromDate(2017, 04, 03),
'valor' => 2338.28,
'multa' => false,
'juros' => false,
Expand Down
8 changes: 4 additions & 4 deletions exemplos/bnb_remessa.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'cep' => '99999-999',
Expand All @@ -10,7 +10,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -22,7 +22,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Bnb([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '004.png',
'dataVencimento' => \Carbon\Carbon::createFromDate(2017, 04, 03),
'dataVencimento' => Carbon\Carbon::createFromDate(2017, 04, 03),
'valor' => 2338.28,
'multa' => 2.0,
'juros' => false,
Expand All @@ -40,7 +40,7 @@
'especieDoc' => 'DM',
]);

$remessa = new \Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Bnb([
$remessa = new Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Bnb([
'agencia' => '0232',
'conta' => '0000559',
'contaDv' => '1',
Expand Down
2 changes: 1 addition & 1 deletion exemplos/bnb_retorno.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$retorno = \Eduardokum\LaravelBoleto\Cnab\Retorno\Factory::make(__DIR__ . DIRECTORY_SEPARATOR . 'arquivos' . DIRECTORY_SEPARATOR . 'bnb.ret');
$retorno = Eduardokum\LaravelBoleto\Cnab\Retorno\Factory::make(__DIR__ . DIRECTORY_SEPARATOR . 'arquivos' . DIRECTORY_SEPARATOR . 'bnb.ret');
$retorno->processar();

echo $retorno->getBancoNome();
Expand Down
6 changes: 3 additions & 3 deletions exemplos/boleto_mail.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'cep' => '99999-999',
Expand All @@ -10,7 +10,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -22,7 +22,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Bancoob([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '756.png',
'dataVencimento' => new \Carbon\Carbon(),
'dataVencimento' => new Carbon\Carbon(),
'valor' => 100,
'multa' => false,
'juros' => false,
Expand Down
6 changes: 3 additions & 3 deletions exemplos/bradesco_boleto.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require 'autoload.php';
$beneficiario = new \Eduardokum\LaravelBoleto\Pessoa([
$beneficiario = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'ACME',
'endereco' => 'Rua um, 123',
'cep' => '99999-999',
Expand All @@ -10,7 +10,7 @@
'documento' => '99.999.999/9999-99',
]);

$pagador = new \Eduardokum\LaravelBoleto\Pessoa([
$pagador = new Eduardokum\LaravelBoleto\Pessoa([
'nome' => 'Cliente',
'endereco' => 'Rua um, 123',
'bairro' => 'Bairro',
Expand All @@ -22,7 +22,7 @@

$boleto = new Eduardokum\LaravelBoleto\Boleto\Banco\Bradesco([
'logo' => realpath(__DIR__ . '/../logos/') . DIRECTORY_SEPARATOR . '237.png',
'dataVencimento' => new \Carbon\Carbon(),
'dataVencimento' => new Carbon\Carbon(),
'valor' => 100,
'multa' => false,
'juros' => false,
Expand Down
Loading

0 comments on commit 9d3e2b5

Please sign in to comment.