Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from eclipxe13/master
Browse files Browse the repository at this point in the history
target 0.2.0
  • Loading branch information
eclipxe13 authored Mar 29, 2019
2 parents f61ed28 + f644978 commit 5a288d1
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 14 deletions.
15 changes: 8 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# Contributing

Contributions are welcome. We accept pull requests on [GitHub](https://github.com/phpcfdi/sat-estado-cfdi).
Contributions are welcome. We accept pull requests on [GitHub](https://github.com/phpcfdi/sat-estado-cfdi-http-psr).

This project adheres to a
[Contributor Code of Conduct](https://github.com/phpcfdi/sat-estado-cfdi/blob/master/CODE_OF_CONDUCT.md).
[Contributor Code of Conduct](https://github.com/phpcfdi/sat-estado-cfdi-http-psr/blob/master/CODE_OF_CONDUCT.md).
By participating in this project and its community, you are expected to uphold this code.

## Team members

* [Carlos C Soto](https://github.com/eclipxe13) - original author and maintainer
* [GitHub constributors](https://github.com/phpcfdi/sat-estado-cfdi/graphs/contributors)
* [GitHub constributors](https://github.com/phpcfdi/sat-estado-cfdi-http-psr/graphs/contributors)

## Communication Channels

You can find help and discussion in the following places:

* GitHub Issues: <https://github.com/phpcfdi/sat-estado-cfdi/issues>
* GitHub Issues: <https://github.com/phpcfdi/sat-estado-cfdi-http-psr/issues>

## Reporting Bugs

Bugs are tracked in our project's [issue tracker](https://github.com/phpcfdi/sat-estado-cfdi/issues).
Bugs are tracked in our project's [issue tracker](https://github.com/phpcfdi/sat-estado-cfdi-http-psr/issues).

When submitting a bug report, please include enough information for us to reproduce the bug.
A good bug report includes the following sections:
Expand All @@ -42,8 +42,8 @@ section below, you may create bugfix branches and send us pull requests.
## Adding New Features

If you have an idea for a new feature, it's a good idea to check out our
[issues](https://github.com/phpcfdi/sat-estado-cfdi/issues) or active
[pull requests](https://github.com/phpcfdi/sat-estado-cfdi/pulls)
[issues](https://github.com/phpcfdi/sat-estado-cfdi-http-psr/issues) or active
[pull requests](https://github.com/phpcfdi/sat-estado-cfdi-http-psr/pulls)
first to see if the feature is already being worked on.
If not, feel free to submit an issue first, asking whether the feature is beneficial to the project.
This will save you from doing a lot of development work only to have your feature rejected.
Expand Down Expand Up @@ -79,4 +79,5 @@ vendor/bin/parallel-lint src/ tests/
vendor/bin/phpcs -sp src/ tests/
vendor/bin/php-cs-fixer fix -v --dry-run
vendor/bin/phpunit --coverage-text
vendor/bin/phpstan analyse --level max src/ tests/
```
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Usa [composer](https://getcomposer.org/)
composer require phpcfdi/sat-estado-cfdi-http-psr
```


## Ejemplo básico de uso

```php
Expand All @@ -74,10 +75,15 @@ if ($response->cancellable()->isNotCancellable()) {
}
```

En el archivo de documentación [Integración](docs/Integracion.md) hay notas de cómo puedes inteagrar
y usar esta librería en tu sistema usando la implementación de los PSR-17 y PSR-18 que decidas.

En el archivo de documentación [Guzzle](docs/Guzzle.md) podrás ver un ejemplo de implementación con la libreria [guzzlehttp/guzzle](https://github.com/guzzle/guzzle).
## Integraciones

Puedes ver los siguientes recursos para integrar `phpcfdi/sat-estado-cfdi-http-psr` a tu proyecto.

- [Integración Guzzle](docs/integracion-guzzle.md)
Implementación con [guzzlehttp/guzzle](https://github.com/guzzle/guzzle).
- [Integración genérica](docs/integracion-generica.md)
Implementación de los PSR-17 y PSR-18 que decidas, ejemplo usando Sunrise.


## Compatilibilidad
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"require": {
"php": ">=7.2",
"ext-dom": "*",
"phpcfdi/sat-estado-cfdi": "^0.5.0",
"phpcfdi/sat-estado-cfdi": "^0.6.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0"
Expand All @@ -39,7 +39,7 @@
"phpstan/phpstan-shim": "^0.11"
},
"suggest": {
"phpcfdi/cfdi-expresiones": "Utilería para crear expresiones de CFD 3.2, CFDI 3.3 y RET 1.0"
"phpcfdi/cfdi-expresiones": "Genera expresiones de CFDI 3.3, CFDI 3.2 y RET 1.0"
},
"autoload": {
"psr-4": {
Expand Down
7 changes: 7 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

## Version 0.2.0 2019-03-29

- Implemented `phpcfdi/sat-estado-cfdi:^0.6.0`
- Improve documentation and integrations
- Fix CONTRIBUTING project


## Version 0.1.0 2019-03-28

- Implemented `phpcfdi/sat-estado-cfdi:^0.5.0`
2 changes: 1 addition & 1 deletion docs/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
- [ ] Laravel
- [ ] Symfony
- [ ] Yii
- [ ] Guzzle
- [X] Guzzle (gracias @blacktrue)
- [ ] HTTPPlug
File renamed without changes.
1 change: 0 additions & 1 deletion docs/Guzzle.md → docs/integracion-guzzle.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ $client = new \Http\Adapter\Guzzle6\Client();
$factory = new HttpConsumerFactory($client, $requestFactory, $streamFactory);
$consumer = new HttpConsumerClient($factory);
```

0 comments on commit 5a288d1

Please sign in to comment.