Download the PHP
package cbcaio/boletos-laravel without Composer
On this page you can find all versions of the php package
cbcaio/boletos-laravel. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor cbcaio Package boletos-laravel Short Description Uma abordagem orientada a objetos para criação de boletos em PHP, feito para laravel License
GPL
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Pacote para geração de boletos, atualmente somente o boleto da Caixa Economica Federal está disponível. Documentação
em desenvolvimento.
Como instalar
1 - Via Composer
Basta adicionar ao composer.json a dependência:
2 - Provider
Após a instação é necessário inserir o provider no seu arquivo de configuração do laravel(config/app.php):
'providers' => [
// Other service providers...
CbCaio\Boletos\Providers\BoletoServiceProvider::class,
],
3 - Configuração
Para gerar o arquivo de configuração basta executar o comando artisan a seguir em seu terminal
Este comando criará 1 arquivo :
config/boletos.php : Este arquivo é onde, opcionalmente, você pode configurar dados do beneficiario.
Usage
Para começar a utilizar o pacote é preciso entender a composição de um boleto. Cada boleto carrega as seguintes
informações:
Informações do Banco
Informações do Beneficiario
Informações do Pagador
Informações do Boleto (valor, data vencimento, etc)
Portanto, inicialmente você precisará fornecer esses dados. Segue um exemplo real de utilização em um controller:
Change log
Por favor veja CHANGELOG para mais informações sobre as ultimas mudanças.
Contribuindo
Por favor veja CONDUCT para mais detalhes.
Segurança
Se você encontrar algum problema relacionada a segurança do pacote, por favor relate o problema encontrado, me
mande um e-mail [email protected] ou abra uma issue.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package cbcaio/boletos-laravel contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.