eclipxe/cfdiutils 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

eclipxe/cfdiutils

Composer 安装命令:

composer require eclipxe/cfdiutils

包简介

PHP Common utilities for Mexican CFDI 3.2, 3.3 & 4.0

README 文档

README

Source Code Discord Packagist PHP Version Support Latest Version Software License Build Status Reliability Maintainability Code Coverage Violations Source Code Total Downloads

PHP Common utilities for Mexican CFDI 3.2, 3.3 & 4.0.

This library provides helper objects to work with Mexican CFDI (Comprobante Fiscal Digital por Internet).

🇲🇽 Visita la documentación en español de esta librería en Read the docs. También te esperamos en el canal #phpcfdi de discord.

The documentation related to this library and its API is on Read the docs. It is written in spanish language since is the language of the intended audience.

Nota: Este proyecto será migrado a phpcfdi/cfdiutils, aún no tenemos fecha planeada

No olvides visitar https://www.phpcfdi.com donde contamos con muchas más librerías relacionadas con CFDI y herramientas del SAT. Y próximamente el lugar donde publicaremos la versión 4.x.

Main features

  • Create CFDI version 3.3 & 4.0 based on a friendly extendable non XML objects (nodes).
  • Read CFDI version 3.2, 3.3 & 4.0.
  • Validate CFDI version 3.3 & 4.0 against schemas, CFDI signature (Sello) and custom rules.
  • Validate that the Timbre Fiscal Digital signature match with the CFDI 3.3 & CFDI 4.0. If signature doesn't match, then the document has been modified after sealed.
  • Helper objects to deal with:
    • Cadena de origen generation.
    • Extract information from CER files or Certificado attribute.
    • Calculate Comprobante sums based on the list of Conceptos.
    • Retrieve the CFDI version information.
  • Keep a local copy of the tree of XSD and XSLT file dependencies from SAT.
  • Keep a local copy of certificates to avoid download them each time.
  • Check the SAT WebService to get the status of a CFDI (Estado, EsCancelable, EstatusCancelacion and EFOS) without WSDL.

Installation

Use composer, so please run

composer require eclipxe/cfdiutils

Major versions

  • Version 1.x deprecated was deprecated time ago, that version didn't do much anyway.
  • Version 2.x deprecated has a lot of features and helper objects.
  • Version 3.x current is a maintenance release for compatibility with PHP 8.4.
  • Version 4.x future will be released with backward compatibility breaks.
    • See docs/CHANGELOG.md for backward compatibility breaks.
    • It may change to PHP 8.2.
    • It could be possible to migrate to phpcfdi/cfdi-utils under phpCfdi organization.

PHP Support

This library is compatible with PHP 8.0 and above. Please, try to use the language's full potential.

The intended support is to be aligned with the oldest Active support PHP Branch. See https://www.php.net/supported-versions.php for more details.

CfdiUtils PHP Supported versions Since
1.0 7.0, 7.1 2017-09-27
2.0 7.0, 7.1 2018-01-01
2.0.1 7.0, 7.1, 7.2 2018-01-03
2.8.1 7.0, 7.1, 7.2, 7.3 2019-03-05
2.12.7 7.0, 7.1, 7.2, 7.3, 7.4 2019-12-04
2.15.0 7.3, 7.4, 8.0 2021-03-17
2.20.1 7.3, 7.4, 8.0, 8.1 2022-03-08
2.23.5 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 2023-05-26
3.0.0 8.0, 8.1, 8.2, 8.3, 8.4 2025-03-18

Contributing

Contributions are welcome! Please read CONTRIBUTING for details and don't forget to take a look in the TODO and CHANGELOG files.

Copyright and License

The eclipxe/CfdiUtils library is copyright © Carlos C Soto and licensed for use under the MIT License (MIT). Please see LICENSE for more information.

eclipxe/cfdiutils 适用场景与选型建议

eclipxe/cfdiutils 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 144.55k 次下载、GitHub Stars 达 139, 最近一次更新时间为 2017 年 09 月 27 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「mexico」 「cfdi」 「electronic invoice」 「cfdi33」 「cfdi40」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 eclipxe/cfdiutils 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 eclipxe/cfdiutils 我们能提供哪些服务?
定制开发 / 二次开发

基于 eclipxe/cfdiutils 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 144.55k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 142
  • 点击次数: 24
  • 依赖项目数: 7
  • 推荐数: 0

GitHub 信息

  • Stars: 139
  • Watchers: 18
  • Forks: 54
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-27