Skip to content

A package for general manipulation of CNAB files, generation of remittances and parsing of returns using a normalized fields structure.

Notifications You must be signed in to change notification settings

naylonkessler/smart-cnab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartCNAB

SensioLabsInsight Build Status Scrutinizer Code Quality

Warning: This package is under active development so breaking changes can accur.

<?php

use SmartCNAB\Services\Factory;
use SmartCNAB\Support\Bank;
use SmartCNAB\Support\File\File;

$factory = new Factory();
$remittance = $factory->remittance(Bank::ITAU, File::CNAB400);
$remittance->begin([]);
$remittance->addDetail([]);
$remittance->end();
$remittance->save($path);
<?php

use SmartCNAB\Services\Factory;

$path = '...';

$factory = new Factory();
$return = $factory->returning($path);
$header = $return->header();
$details = $return->details();
$trailer = $return->trailer();

About

A package for general manipulation of CNAB files, generation of remittances and parsing of returns using a normalized fields structure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages