PHPackages                             eliasis-framework/wp-plugin-info - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. eliasis-framework/wp-plugin-info

AbandonedArchivedEliasis-plugin[Utility &amp; Helpers](/categories/utility)

eliasis-framework/wp-plugin-info
================================

Get and save plugin information from WordPress API to be consumed by other modules.

1.0.4(8y ago)21931MITPHPPHP ^5.6 || ^7.0

Since Jul 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/eliasis-framework/wp-plugin-info)[ Packagist](https://packagist.org/packages/eliasis-framework/wp-plugin-info)[ RSS](/packages/eliasis-framework-wp-plugin-info/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (9)Versions (6)Used By (1)

WP Plugin Info · Eliasis plugin
===============================

[](#wp-plugin-info--eliasis-plugin)

[![Latest Stable Version](https://camo.githubusercontent.com/64f5e00e07957ab34e77e6585f2a10cdbb98bf11e1794ee98f641c2ee0b9b142/68747470733a2f2f706f7365722e707567782e6f72672f656c69617369732d6672616d65776f726b2f77702d706c7567696e2d696e666f2f762f737461626c65)](https://packagist.org/packages/eliasis-framework/wp-plugin-info)[![License](https://camo.githubusercontent.com/b4d1af329183bb5e3d526bdf70c858ad2f303575b3f58a75a59930d37786b060/68747470733a2f2f706f7365722e707567782e6f72672f656c69617369732d6672616d65776f726b2f77702d706c7567696e2d696e666f2f6c6963656e7365)](LICENSE)

[Versión en español](README-ES.md)

Get and save plugin information from WordPress API to be consumed by other modules.

---

- [Requirements](#requirements)
- [Installation](#installation)
- [Available Methods](#available-methods)
- [Quick Start](#quick-start)
- [Usage](#usage)
- [Tests](#tests)
- [Sponsor](#Sponsor)
- [License](#license)

---

Requirements
------------

[](#requirements)

This plugin is supported by **PHP versions 5.6** or higher and is compatible with **HHVM versions 3.0** or higher.

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

[](#installation)

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

To install **WP Plugin Info**, simply:

```
composer require eliasis-framework/wp-plugin-info

```

The previous command will only install the necessary files, if you prefer to **download the entire source code** you can use:

```
composer require eliasis-framework/wp-plugin-info --prefer-source

```

You can also **clone the complete repository** with Git:

```
git clone https://github.com/eliasis-framework/wp-plugin-info.git

```

Available Methods
-----------------

[](#available-methods)

Available methods in this plugin:

### - Get plugin information

[](#--get-plugin-information)

```
get($option, $slug);
```

AtttributeDescriptionTypeRequired$optionOption to get.stringYes$slugWordPress plugin slug.stringYes**@return** (mixed) → Value or false.

Quick Start
-----------

[](#quick-start)

To use this plugin with **Composer**:

```
use Eliasis\Complement\Type\Plugin;

$wp_plugin_info = Plugin::WP_Plugin_Info()->getControllerInstance('Main');
```

Usage
-----

[](#usage)

### - Get plugin name

[](#--get-plugin-name)

```
# [string]

$wp_plugin_info->get('name', 'plugin-slug');
```

### - Get plugin version

[](#--get-plugin-version)

```
# [string]

$wp_plugin_info->get('version', 'plugin-slug');
```

### - Get plugin author

[](#--get-plugin-author)

```
# [string]

$author = $wp_plugin_info->get('author', 'plugin-slug');
```

### - Get plugin author profile

[](#--get-plugin-author-profile)

```
# [string]

$wp_plugin_info->get('author_profile', 'plugin-slug');
```

### - Get plugin contributors

[](#--get-plugin-contributors)

```
# [array]

$wp_plugin_info->get('contributors', 'plugin-slug');
```

### - Get plugin requires

[](#--get-plugin-requires)

```
# [string]

$wp_plugin_info->get('requires', 'plugin-slug');
```

### - Get plugin tested

[](#--get-plugin-tested)

```
# [string]

$wp_plugin_info->get('tested', 'plugin-slug');
```

### - Get plugin compatibility

[](#--get-plugin-compatibility)

```
# [array]

$wp_plugin_info->get('compatibility', 'plugin-slug');
```

### - Get plugin rating

[](#--get-plugin-rating)

```
# [int]

$wp_plugin_info->get('rating', 'plugin-slug');
```

### - Get plugin ratings

[](#--get-plugin-ratings)

```
# [array]

$wp_plugin_info->get('ratings', 'plugin-slug');
```

### - Get plugin num ratings

[](#--get-plugin-num-ratings)

```
# [int]

$wp_plugin_info->get('num_ratings', 'plugin-slug');
```

### - Get plugin support threads

[](#--get-plugin-support-threads)

```
# [int]

$wp_plugin_info->get('support_threads', 'plugin-slug');
```

### - Get plugin support threads resolved

[](#--get-plugin-support-threads-resolved)

```
# [int]

$wp_plugin_info->get('support_threads_resolved', 'plugin-slug');
```

### - Get plugin downloaded

[](#--get-plugin-downloaded)

```
# [int]

$wp_plugin_info->get('downloaded', 'plugin-slug');
```

### - Get plugin last updated

[](#--get-plugin-last-updated)

```
# [string]

$wp_plugin_info->get('last_updated', 'plugin-slug');
```

### - Get plugin added

[](#--get-plugin-added)

```
# [string]

$wp_plugin_info->get('added', 'plugin-slug');
```

### - Get plugin homepage

[](#--get-plugin-homepage)

```
# [string]

$wp_plugin_info->get('homepage', 'plugin-slug');
```

### - Get plugin download link

[](#--get-plugin-download-link)

```
# [string]

$wp_plugin_info->get('download_link', 'plugin-slug');
```

### - Get plugin tags

[](#--get-plugin-tags)

```
# [array]

$wp_plugin_info->get('tags', 'plugin-slug');
```

### - Get plugin donate link

[](#--get-plugin-donate-link)

```
# [string]

$wp_plugin_info->get('donate_link', 'plugin-slug');
```

Tests
-----

[](#tests)

To run [tests](tests) you just need [composer](http://getcomposer.org/download/) and to execute the following:

```
git clone https://github.com/eliasis-framework/wp-plugin-info.git

cd wp-plugin-info

bash bin/install-wp-tests.sh wordpress_test root '' localhost latest

composer install

```

Run unit tests with [PHPUnit](https://phpunit.de/):

```
composer phpunit

```

Run [WordPress](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/) code standard tests with [PHPCS](https://github.com/squizlabs/PHP_CodeSniffer):

```
composer phpcs

```

Run [PHP Mess Detector](https://phpmd.org/) tests to detect inconsistencies in code style:

```
composer phpmd

```

Run all previous tests:

```
composer tests

```

Sponsor
-------

[](#sponsor)

If this project helps you to reduce your development time, [you can sponsor me](https://github.com/josantonius#sponsor) to support my open source work 😊

License
-------

[](#license)

This repository is licensed under the [MIT License](LICENSE).

Copyright © 2017-2022, [Josantonius](https://github.com/josantonius#contact)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

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

Total

5

Last Release

2997d ago

PHP version history (2 changes)1.0.0PHP ^5.3 || ^7.0

1.0.3PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b221283501ec8a9cbaefaf27821a91ae8ddd33bddf1fccc6c6815b7ad216ff1?d=identicon)[Josantonius](/maintainers/Josantonius)

---

Top Contributors

[![josantonius](https://avatars.githubusercontent.com/u/18104336?v=4)](https://github.com/josantonius "josantonius (35 commits)")

---

Tags

composereliasis-pluginphpwordpresswordpress-apiwordpress-pluginwp-pluginphppluginwordpressEliasishhvmcomponentinfoWordPress-API

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/eliasis-framework-wp-plugin-info/health.svg)

```
[![Health](https://phpackages.com/badges/eliasis-framework-wp-plugin-info/health.svg)](https://phpackages.com/packages/eliasis-framework-wp-plugin-info)
```

###  Alternatives

[sybrew/the-seo-framework-extension-manager

A WordPress plugin that allows you to manage extensions for The SEO Framework.

8490.3k](/packages/sybrew-the-seo-framework-extension-manager)

PHPackages © 2026

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