PHPackages                             wsw/loja-integrada - 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. wsw/loja-integrada

AbandonedArchivedLibrary[API Development](/categories/api)

wsw/loja-integrada
==================

Customer integration with webservice Loja Integrada

v1.3.1(9y ago)132556MITPHPPHP ~5.5|~7.0

Since Apr 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/whera/LojaIntegrada)[ Packagist](https://packagist.org/packages/wsw/loja-integrada)[ Docs](https://github.com/whera/LojaIntegrada)[ RSS](/packages/wsw-loja-integrada/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (5)Versions (7)Used By (0)

API Loja Integrada
==================

[](#api-loja-integrada)

[![Author](https://camo.githubusercontent.com/98f849cf8f8e06689a497424d822a2e3de2a3cbe8a8344a2414475c84bb764a1/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d407768657261612d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/Wheraa)[![Source Code](https://camo.githubusercontent.com/b2b9fd77f3972269aadcd3dd042d1e4bd400201254b69c7c2f3aa30adb46578d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d77686572612f4c6f6a61496e746567726164612d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/whera/LojaIntegrada/)[![Latest Version](https://camo.githubusercontent.com/939bb95c5171120fafa609980d5f824ab17b36edbc96a220849a8334e9e6687a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f77686572612f4c6f6a61496e746567726164612e7376673f7374796c653d666c61742d737175617265)](https://github.com/whera/LojaIntegrada/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/8a9ddc7eee446ca9d8740d00314bd248e884c90b6447609b4da3f53091de8971/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f77686572612f4c6f6a61496e746567726164612f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/whera/LojaIntegrada)[![Coverage Status](https://camo.githubusercontent.com/035ad19b8e1941473da9906d1b4f914d1dec87349be29e0b56c4e62c5abcea45/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f77686572612f4c6f6a61496e746567726164612e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/whera/LojaIntegrada/code-structure)[![Quality Score](https://camo.githubusercontent.com/46425d70371cabda313fa82d69e3c1cf1606c8044f2e207ec13710ac18d2deb8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f77686572612f4c6f6a61496e746567726164612e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/whera/LojaIntegrada)[![Total Downloads](https://camo.githubusercontent.com/f9f3ad2e13eb5eb1213f31dffbb79abfbd9cfef327560dc2e67eccfb434a59bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7773772f6c6f6a612d696e746567726164612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wsw/loja-integrada)

API integration with e-commerce system [Loja Integrada](https://lojaintegrada.com.br/)

Install
-------

[](#install)

Via Composer

```
$ composer require wsw/loja-integrada
```

Usage
-----

[](#usage)

```
use WSW\LojaIntegrada\Credentials;
use WSW\LojaIntegrada\Resources\Category;
use WSW\LojaIntegrada\Client\LojaIntegradaException;

try {

    $credentials = new Credentials(
        '0a0000a0-aaa0-0000-a000-aa0a000000aa',
        '0a0000a0-aaa0-0000-a000-aa0a000000aB'
    );

    $category = new Category($credentials);

    // returns all records in the category
    $result = $category->findAll();

    // returns the related category to id
    $resultID = $category->find(123);

    // returns the categories related to the ids
    $resultIDs = $category->find([1, 10, 50, 99]);

    // returns the related category to the external id
    $resultIdExternal = $category->idExternal()->find(999);

} catch (LojaIntegradaException $e) {
    echo $e->getMessage();

} catch (\InvalidArgumentException $e) {
    echo $e->getMessage();
}
```

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ronaldo M. Rodrigues](https://twitter.com/Wheraa)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~41 days

Total

6

Last Release

3525d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d6f255e5739b981479fecfa5fa4169f68103d209a5ef2710e0eec2a600689efc?d=identicon)[whera](/maintainers/whera)

---

Top Contributors

[![whera](https://avatars.githubusercontent.com/u/3909582?v=4)](https://github.com/whera "whera (51 commits)")

---

Tags

librarylojaintegradaphprestrest-apiwswLojaIntegradaWSW

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/wsw-loja-integrada/health.svg)

```
[![Health](https://phpackages.com/badges/wsw-loja-integrada/health.svg)](https://phpackages.com/packages/wsw-loja-integrada)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1942.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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