-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 492f4cd
Showing
77 changed files
with
11,384 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/vendor | ||
/samples/*/*.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
language: php | ||
|
||
php: | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- nightly | ||
|
||
matrix: | ||
allow_failures: | ||
- php: nightly | ||
|
||
before_script: | ||
- composer selfupdate | ||
- composer install --dev --prefer-dist | ||
- composer require --dev codeclimate/php-test-reporter | ||
|
||
script: | ||
- ./vendor/bin/phpunit --coverage-clover tmp/clover.xml | ||
|
||
after_success: | ||
- ./vendor/bin/test-reporter --coverage-report tmp/clover.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Celesc | ||
====== | ||
|
||
[![Build Status](https://travis-ci.org/mrprompt/Celesc.svg?branch=master)](https://travis-ci.org/mrprompt/Celesc) | ||
[![Code Climate](https://codeclimate.com/github/mrprompt/Celesc/badges/gpa.svg)](https://codeclimate.com/github/mrprompt/Celesc) | ||
[![Test Coverage](https://codeclimate.com/github/mrprompt/Celesc/badges/coverage.svg)](https://codeclimate.com/github/mrprompt/Celesc/coverage) | ||
[![Issue Count](https://codeclimate.com/github/mrprompt/Celesc/badges/issue_count.svg)](https://codeclimate.com/github/mrprompt/Celesc) | ||
|
||
Biblioteca de integração com a Celesc por meio de troca de arquivos. | ||
|
||
## Dependências | ||
|
||
- php 5.6+ | ||
|
||
## Instalação | ||
|
||
``` | ||
composer.phar require mrprompt/celesc | ||
``` | ||
|
||
## Exemplos | ||
Os exemplos estão na pasta *samples*. | ||
|
||
Descrição dos exemplos | ||
|
||
- samples/cart.php - Array com os parâmetros necessários para cada tipo de transação | ||
- samples/remessa.php - Geração de arquivo de remessa | ||
- samples/recebido.php - Leitura do arquivo de retorno | ||
|
||
## Contribuindo | ||
|
||
### Instalação | ||
Após baixar o [Composer](http://www.getcomposer.org), basta rodar o *install* | ||
|
||
``` | ||
composer.phar install --prefer-dist | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"name" : "mrprompt/celesc", | ||
"description" : "Celesc integration", | ||
"license" : "MIT", | ||
"type": "library", | ||
"version": "1.0.0", | ||
"minimum-stability": "stable", | ||
"autoload" : { | ||
"psr-4" : { | ||
"MrPrompt\\Celesc\\": "src/" | ||
} | ||
}, | ||
"autoload-dev" : { | ||
"psr-4" : { | ||
"MrPrompt\\Celesc\\Tests\\": "tests/" | ||
} | ||
}, | ||
"authors" : [ | ||
{ | ||
"name" : "Thiago Paes", | ||
"email" : "[email protected]", | ||
"role" : "Developer" | ||
}, | ||
{ | ||
"name" : "Johnathan Cardoso", | ||
"email" : "[email protected]", | ||
"role" : "Collaborator" | ||
}, | ||
{ | ||
"name" : "Walter Discher Cechinel", | ||
"email" : "[email protected]", | ||
"role" : "Collaborator" | ||
}, | ||
{ | ||
"name" : "Luís Otávio Cobucci Oblonczyk", | ||
"email" : "[email protected]", | ||
"role" : "Collaborator" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.1", | ||
"respect/validation": "^1.1.12" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^6.1.3", | ||
"mockery/mockery": "dev-master@dev", | ||
"mikey179/vfsStream": "^1.6" | ||
} | ||
} |
Oops, something went wrong.