Composer plugin for Envato

Installs: 299

Dependents: 1

Suggesters: 0

Security: 0

Stars: 22

Watchers: 2

Forks: 1

Open Issues: 4


v0.2.0 2021-01-23 13:32 UTC

This package is auto-updated.

Last update: 2022-11-29 14:31:10 UTC


Packagist Packagist stats PHPStan

A Composer plugin to load WordPress themes and plugins from Envato.

💡 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.


This Composer plugin must be installed globally as it adds a virtual package repository.

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


Add all your products to your config.json (in $COMPOSER_HOME) as packages.

You find the item-id at the end of product URL-s. e.g.

  "config": {
    "envato": {
      "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.


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

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.