PHPackages                             btmpl/allegro - 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. btmpl/allegro

ActiveLibrary

btmpl/allegro
=============

81056PHP

Since Feb 2Pushed 8y ago3 watchersCompare

[ Source](https://github.com/BTMPL/allegro)[ Packagist](https://packagist.org/packages/btmpl/allegro)[ RSS](/packages/btmpl-allegro/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Allegro
=======

[](#allegro)

Prosty wrapper do obsługi WebAPI Allegro.

Instalacja
==========

[](#instalacja)

Dostępny przez Composer:

```
"require": {
    "btmpl/allegro": "dev-master"
},

```

następnie

```
$ composer update

```

Wykorzystanie
=============

[](#wykorzystanie)

```
$allegro = new \Allegro\Allegro('KLUCZ');
$allegro->login('LOGIN', 'HASLO');

```

Do konstruktora, jako opcjonalny parametr przekazać można dodatkowo ID kraju, oraz adres innego WSDL (np. testowego).

Aby wywołać metodę api, np [doGetPostBuyFormsDataForSellers](http://allegro.pl/webapi/documentation.php/show/id,703) używamy wywołania:

```
$response = $allegro->doGetPostBuyFormsDataForSellers($payload);

```

Skrypt automatycznie dołącza `sessionId`, `sessionHandle`, `webapiKey`, `countryId` i `countryCode` (ponieważ konsekwencja nie jest silną stroną API Allegro).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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/247153?v=4)[Bartosz Szczeciński](/maintainers/BTMPL)[@BTMPL](https://github.com/BTMPL)

---

Top Contributors

[![BTMPL](https://avatars.githubusercontent.com/u/247153?v=4)](https://github.com/BTMPL "BTMPL (12 commits)")[![akol-pl](https://avatars.githubusercontent.com/u/18027387?v=4)](https://github.com/akol-pl "akol-pl (2 commits)")[![serten-d](https://avatars.githubusercontent.com/u/36070617?v=4)](https://github.com/serten-d "serten-d (1 commits)")

### Embed Badge

![Health badge](/badges/btmpl-allegro/health.svg)

```
[![Health](https://phpackages.com/badges/btmpl-allegro/health.svg)](https://phpackages.com/packages/btmpl-allegro)
```

PHPackages © 2026

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