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

ActiveLibrary[API Development](/categories/api)

maperx/php-afip-ws
==================

Librería para emitir facturas electrónicas con el WebService de AFIP

03PHP

Since Apr 6Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

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

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

[](#installation)

```
composer require Maperx/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

16

—

LowBetter than 4% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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://avatars.githubusercontent.com/u/1987152?v=4)[maperx](/maintainers/maperx)[@maperx](https://github.com/maperx)

---

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)")[![maperx](https://avatars.githubusercontent.com/u/1987152?v=4)](https://github.com/maperx "maperx (7 commits)")[![alexisverardo](https://avatars.githubusercontent.com/u/29296936?v=4)](https://github.com/alexisverardo "alexisverardo (3 commits)")[![emirodriguez](https://avatars.githubusercontent.com/u/8293904?v=4)](https://github.com/emirodriguez "emirodriguez (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/maperx-php-afip-ws/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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