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 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 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 5% of packages

Maintenance35

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://www.gravatar.com/avatar/1012c6dab63fdd44b99382e39c2bddd73d910debd87d5652c317ea5cbb5ca51a?d=identicon)[maperx](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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