PHPackages                             2amigos/yii2-packagist-component - 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. 2amigos/yii2-packagist-component

AbandonedArchivedYii2-extension

2amigos/yii2-packagist-component
================================

Yii 2 Packagist API extension component.

0.1.1(12y ago)15.7k31BSD-3-ClausePHP

Since Feb 21Pushed 12y ago18 watchersCompare

[ Source](https://github.com/2amigos/yii2-packagist-component)[ Packagist](https://packagist.org/packages/2amigos/yii2-packagist-component)[ RSS](/packages/2amigos-yii2-packagist-component/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

Packagist API wrapper component extension for Yii2
==================================================

[](#packagist-api-wrapper-component-extension-for-yii2)

Component extension wrapper for [Packagist API](http://packagist.org/)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require "2amigos/yii2-packagist-component" "*"

```

or add

```
"2amigos/yii2-packagist-component" : "*"
```

to the require section of your application's `composer.json` file.

Usage
-----

[](#usage)

```
use dosamigos\packagist\Packagist;

$api = new Packagist;

// get a package information
$response = $api->package('yiisoft/yii2`)->getResponse();
// dump response
var_dump($response->body);

// get a filtered list
$response = $api->all(['vendor' => '2amigos'])->getResponse();
if($response->isSuccessFul) {
    var_dump($response->body);
} else {
    var_dump($response->error);
}

// search packages
$response = $api->search('yii2')->getResponse();
var_dump($response->body);

```

> [![2amigOS!](https://camo.githubusercontent.com/9fd8f1de41dc23003bb2a54034cb6658dde5be97092e195a62d629d0d7fa7f6c/687474703a2f2f7777772e67726176617461722e636f6d2f6176617461722f35353336333339346437323934356666376564333132353536656330343165302e706e67)](http://www.2amigos.us)

*Web development has never been so fun!*[www.2amigos.us](http://www.2amigos.us)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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 ~2 days

Total

2

Last Release

4460d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/566016?v=4)[Antonio Ramirez](/maintainers/tonydspaniard)[@tonydspaniard](https://github.com/tonydspaniard)

---

Tags

extensionyiicomponentpackagist

### Embed Badge

![Health badge](/badges/2amigos-yii2-packagist-component/health.svg)

```
[![Health](https://phpackages.com/badges/2amigos-yii2-packagist-component/health.svg)](https://phpackages.com/packages/2amigos-yii2-packagist-component)
```

PHPackages © 2026

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