PHPackages                             zzantares/cfdi-wrapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. zzantares/cfdi-wrapper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

zzantares/cfdi-wrapper
======================

Simple wrapper to interact with a CFDI without XSD hassle.

19PHP

Since Nov 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ZzAntares/cfdi-wrapper)[ Packagist](https://packagist.org/packages/zzantares/cfdi-wrapper)[ RSS](/packages/zzantares-cfdi-wrapper/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

CFDI Wrapper
============

[](#cfdi-wrapper)

[![Build Status](https://camo.githubusercontent.com/dd3c668f81280f1cff270d7d0212ca91f8b47417088468851ec3a06a4d854071/68747470733a2f2f7472617669732d63692e6f72672f5a7a416e74617265732f636664692d777261707065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ZzAntares/cfdi-wrapper)[![Code Coverage](https://camo.githubusercontent.com/60ba5151f28d59ae7ba9fc7ae7ce59e222573c7f348cbf8f1d436e0f987cdbfe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5a7a416e74617265732f636664692d777261707065722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ZzAntares/cfdi-wrapper/?branch=master)

This project is a neat wrapper for CFDI XSD files, this library allows you to manipulate CFDI attributes in a very simple and intuitive way without dealing with XML, XSD or XPATH at all!

Instalation
-----------

[](#instalation)

Add the dependency to your `composer.json`:

```
{
    "require": {
        "zzantares/cfdi-wrapper": "dev-master",
    }
}

```

Now just run `composer install` or `composer update` depending on the stage of your project

Usage
-----

[](#usage)

In order to use the CFDI Wrapper advantages create an instance of the `Cfdi`class by passing the XML content of the CFDI to inspect:

```
