{"repo":"szepeviktor/composer-envato","free":true,"listed":false,"github":"https://github.com/szepeviktor/composer-envato","clone":"git clone https://github.com/szepeviktor/composer-envato.git","description":"Composer plugin for Envato 💚 Install WordPress themes and plugins from ThemeForest‎‎ and CodeCanyon","language":"PHP","stars":36,"topics":["envato","themeforest","codecanyon","wordpress","composer-plugin"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Composer plugin for Envato A Composer plugin to load WordPress themes and plugins from Envato. :bulb: 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 This Composer plugin adds a virtual package repository. It is recommended to install it globally: It can also be installed per-project: 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 :bulb: 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: Usage Once the plugin is installed and configured, you can simply install any of the listed products as Composer packages. :bulb: Envato API has dynamic rate limiting Behind the scenes 1. This package is a Composer plugin 1. In the activate method it creates an ArrayRepository with package data from config.json 1. Package version is queried from Envato API 1. 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","default_branch":null,"files":null,"tree":[],"storefront":"/r/szepeviktor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/szepeviktor/composer-envato/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}