PHPackages                             szepeviktor/composer-envato - 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. szepeviktor/composer-envato

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

szepeviktor/composer-envato
===========================

Composer plugin for Envato

v1.1.2(1y ago)3715.2k—0%5[2 issues](https://github.com/szepeviktor/composer-envato/issues)1MITPHPPHP ^7.4 || ^8.0

Since Feb 21Pushed 1y ago3 watchersCompare

[ Source](https://github.com/szepeviktor/composer-envato)[ Packagist](https://packagist.org/packages/szepeviktor/composer-envato)[ RSS](/packages/szepeviktor-composer-envato/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (5)Versions (11)Used By (1)

Composer plugin for Envato
==========================

[](#composer-plugin-for-envato)

[![Packagist](https://camo.githubusercontent.com/5a4794615e72068e07b30bc9b4385c4d018097a3302f433394784ef8dd4fd825/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737a65706576696b746f722f636f6d706f7365722d656e7661746f2e7376673f636f6c6f723d323339393232267374796c653d706f706f7574)](https://packagist.org/packages/szepeviktor/composer-envato)[![Packagist stats](https://camo.githubusercontent.com/129a50578cfc22c4fef80b87cd9be2ea69a1f8ef978c2c951b3681a43b613165/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737a65706576696b746f722f636f6d706f7365722d656e7661746f2e737667)](https://packagist.org/packages/szepeviktor/composer-envato/stats)[![PHPStan](https://camo.githubusercontent.com/c961f520ec74aa0d9e60565e511aebb1c4930b5a0ea635e9be3e99bf562be287/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d323339393232)](https://github.com/phpstan/phpstan)

A [Composer plugin](https://getcomposer.org/doc/articles/plugins.md)to load WordPress [themes](https://themeforest.net/category/wordpress)and [plugins](https://codecanyon.net/category/wordpress) from [Envato](https://envato.com/).

💡 Always the latest version is installed, as Envato does not make other versions available. Package version locking can only be achieved by local persistent cache, not across hosts or users.

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

[](#installation)

This Composer plugin adds a virtual package repository.

It is recommended to install it globally:

```
composer global require --update-no-dev szepeviktor/composer-envato
```

It can also be installed per-project:

```
composer require --update-no-dev szepeviktor/composer-envato
```

Configuration
-------------

[](#configuration)

Add all your Envato products as "packages" in either the local `composer.json`file or the global `config.json` file (located in `$COMPOSER_HOME`).

You can find the `item-id` at the end of product URL-s. e.g. `https://themeforest.net/item/avada-responsive-multipurpose-theme/2833226`

```
{
    "config": {
        "envato": {
            "token": "YOUR ENVATO PERSONAL TOKEN FROM https://build.envato.com/create-token",
            "packages": {
                "envato/avada-theme": {
                    "item-id": 2833226,
                    "type": "wordpress-theme"
                },
                "envato/layerslider-plugin": {
                    "item-id": 1362246,
                    "type": "wordpress-plugin"
                }
            }
        }
    }
}
```

💡 Please use the vendor name `envato` for consistency.

The personal token can also be read from an environment variable or a `.env` file. Create a `.env` file, where the `composer.json` file lives, and add the following:

```
ENVATO_TOKEN=""
```

Usage
-----

[](#usage)

Once the plugin is installed and configured, you can simply install any of the listed products as Composer packages.

💡 Envato API has [dynamic rate limiting](https://build.envato.com/api/#rate-limit)

Behind the scenes
-----------------

[](#behind-the-scenes)

1. This package is a Composer plugin
2. In the `activate` method it creates an `ArrayRepository`with package data from `config.json`
3. Package version is queried from Envato API
4. When installing a package its URL is also queried from Envato API

- Pretty package version is e.g. `v1.2`
- Normalized package version is e.g. `1.2.0.0`

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance48

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 75.9% 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 ~211 days

Recently: every ~201 days

Total

10

Last Release

374d ago

Major Versions

v0.3.1 → v1.0.02023-02-23

PHP version history (2 changes)v0.1.0PHP &gt;=7.1

v0.2.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/135d8104cdf926e2b15b6a06413153a9582729f0cd48ccba7bc7e62878a39781?d=identicon)[szepeviktor](/maintainers/szepeviktor)

---

Top Contributors

[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (22 commits)")[![mcaskill](https://avatars.githubusercontent.com/u/29353?v=4)](https://github.com/mcaskill "mcaskill (5 commits)")[![DannyTaki](https://avatars.githubusercontent.com/u/10076553?v=4)](https://github.com/DannyTaki "DannyTaki (1 commits)")[![larsschellhas](https://avatars.githubusercontent.com/u/14281234?v=4)](https://github.com/larsschellhas "larsschellhas (1 commits)")

---

Tags

codecanyoncomposer-pluginenvatothemeforestwordpresscomposerwordpresscomposer-pluginenvatothemeforestcodecanyon

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/szepeviktor-composer-envato/health.svg)

```
[![Health](https://phpackages.com/badges/szepeviktor-composer-envato/health.svg)](https://phpackages.com/packages/szepeviktor-composer-envato)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[ffraenz/private-composer-installer

A composer install helper for private packages

2331.7M5](/packages/ffraenz-private-composer-installer)[typisttech/imposter-plugin

Composer plugin that wraps all composer vendor packages inside your own namespace. Intended for WordPress plugins.

158251.0k2](/packages/typisttech-imposter-plugin)[avored/module-installer

A composer plugin, to help install modules for AvoREd e commerce applications.

139.1k14](/packages/avored-module-installer)[mage2/module-installer

A composer plugin, to help install modules for AvoREd e commerce applications.

132.0k](/packages/mage2-module-installer)

PHPackages © 2026

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