PHPackages                             emirodriguez/php-afip-ws - 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. [API Development](/categories/api)
4. /
5. emirodriguez/php-afip-ws

ActiveLibrary[API Development](/categories/api)

emirodriguez/php-afip-ws
========================

Librería PHP para interactuar con el webservice de AFIP (Argentina -&gt; factura electrónica).

172PHP

Since Jan 17Pushed 2y agoCompare

[ Source](https://github.com/emirodriguez/php-afip-ws)[ Packagist](https://packagist.org/packages/emirodriguez/php-afip-ws)[ RSS](/packages/emirodriguez-php-afip-ws/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP library for AFIP Web Services (Argentina)
=============================================

[](#php-library-for-afip-web-services-argentina)

Installation
------------

[](#installation)

```
composer require multinexo/php-afip-ws
```

Usage
-----

[](#usage)

```
    /** Invoice with items */
    $company_cuit = '20301112227';

    $invoice = new AfipInvoice();
    $invoice->addAfipDetail(
        (new AfipDetail())
            ->setQty(2)
            ->setItemCode('P0001')
            ->setDescription('Cool cooler')
            ->setItemNet(50)
            ->setIvaConditionCode(IvaConditionCodes::IVA_21)
            ->setItemNet(55.25)
    );

    $data = $invoice->getDataFromAfip(
        $this->getConfig($company_cuit)
    );

    var_dump($data);
```

Documentation
-------------

[](#documentation)

For more information, visit [official documentation](https://www.afip.gob.ar/ws/documentacion/).

Testing
-------

[](#testing)

```
docker run -it --rm --name php73 -e PHP_EXTENSIONS="" -v "$PWD":/usr/src/app thecodingmachine/php:7.3-v4-cli bash
composer coverage
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 58.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5830f53da7af29c4bb1161d28d8a9746248c22c223b03f718cf4166b62e2dd1c?d=identicon)[emirodriguez](/maintainers/emirodriguez)

---

Top Contributors

[![pablorsk](https://avatars.githubusercontent.com/u/938894?v=4)](https://github.com/pablorsk "pablorsk (25 commits)")[![lukascorr](https://avatars.githubusercontent.com/u/18623888?v=4)](https://github.com/lukascorr "lukascorr (8 commits)")[![emirodriguez](https://avatars.githubusercontent.com/u/8293904?v=4)](https://github.com/emirodriguez "emirodriguez (3 commits)")[![alexisverardo](https://avatars.githubusercontent.com/u/29296936?v=4)](https://github.com/alexisverardo "alexisverardo (3 commits)")[![jonaeseiza](https://avatars.githubusercontent.com/u/19875674?v=4)](https://github.com/jonaeseiza "jonaeseiza (2 commits)")[![juanicastellan0](https://avatars.githubusercontent.com/u/37382853?v=4)](https://github.com/juanicastellan0 "juanicastellan0 (1 commits)")[![ayelen117](https://avatars.githubusercontent.com/u/7717615?v=4)](https://github.com/ayelen117 "ayelen117 (1 commits)")

### Embed Badge

![Health badge](/badges/emirodriguez-php-afip-ws/health.svg)

```
[![Health](https://phpackages.com/badges/emirodriguez-php-afip-ws/health.svg)](https://phpackages.com/packages/emirodriguez-php-afip-ws)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M478](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
