PHPackages                             lukascorr/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. lukascorr/php-afip-ws

ActiveLibrary[API Development](/categories/api)

lukascorr/php-afip-ws
=====================

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

2.0.8(5y ago)010.2k1MITPHPPHP &gt;=7.1

Since Mar 25Pushed 5y agoCompare

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

READMEChangelog (2)Dependencies (5)Versions (19)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)

```
composer coverage
```

### Security

[](#security)

If you discover any security related issues, please contact us at .

### License

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/multinexo/php-afip-ws/blob/master/LICENSE) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~105 days

Recently: every ~13 days

Total

11

Last Release

1917d ago

Major Versions

1.0.1 → 2.0.02019-09-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/85156ff07999a0e72ed7b71461bfe227f4c4e6a1e0f672f4d44146b0c19daf89?d=identicon)[lukascorr](/maintainers/lukascorr)

---

Top Contributors

[![lukascorr](https://avatars.githubusercontent.com/u/18623888?v=4)](https://github.com/lukascorr "lukascorr (15 commits)")[![pablorsk](https://avatars.githubusercontent.com/u/938894?v=4)](https://github.com/pablorsk "pablorsk (11 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)")[![ayelen117](https://avatars.githubusercontent.com/u/7717615?v=4)](https://github.com/ayelen117 "ayelen117 (1 commits)")[![juanicastellan0](https://avatars.githubusercontent.com/u/37382853?v=4)](https://github.com/juanicastellan0 "juanicastellan0 (1 commits)")

---

Tags

phpwebserviceafipargentinafactura-electronica

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[multinexo/php-afip-ws

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

229.9k](/packages/multinexo-php-afip-ws)

PHPackages © 2026

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