PHPackages                             nahid/envato-php - 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. [API Development](/categories/api)
4. /
5. nahid/envato-php

ActiveLibrary[API Development](/categories/api)

nahid/envato-php
================

Envato PHP is a PHP client for envato API

v0.0.4(9y ago)301.1k13[2 issues](https://github.com/nahid/envato-php/issues)CC(1.0)PHPPHP &gt;=5.6CI failing

Since Dec 21Pushed 6y ago3 watchersCompare

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

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

Envato PHP
==========

[](#envato-php)

Envato-PHP is a PHP client for Envato API. You can easily integrate it with your all kind of PHP based projects. This package is also compatible with Laravel 5.

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

[](#installation)

To install this package run this command in you terminal from project root

```
composer require nahid/envato-php
```

### For Laravel

[](#for-laravel)

Goto `config/app.php` and add this service provider in providers section

```
Nahid\EnvatoPHP\EnvatoServiceProvider::class,
```

and add this facade in facades section

```
'Envato' => Nahid\EnvatoPHP\Facades\Envato::class,
```

Run this command in your terminal

```
php artisan vendor:publish --provider="Nahid\EnvatoPHP\EnvatoServiceProvider"
```

after publishing your config file then open `config/envato.php` and add your envato app credentials.

```
return [
    "client_id"     => 'envato_app_client_id',

    'client_secret' => 'envato_app_client_secret',

    "redirect_uri"  =>  'redirect_uri',

     'app_name'      => 'nahid-envato-app',
];
```

Thats it.

Usages
------

[](#usages)

```
use Nahid\EnvatoPHP\Envato;

$config = [
            "client_id"     => 'envato_app_client_id',

            'client_secret' => 'envato_app_client_secret',

            "redirect_uri"  =>  'redirect_uri',

             'app_name'      => 'nahid-envato-app',
        ];

 $envato = new Envato($config);

 $user = $envato->me()->accounts();

 var_dump($user->data);
```

But first you have to authenticate envato app. to get authenticate URL just use `$envato->getAuthUrl()`.

### For Laravel Usage

[](#for-laravel-usage)

```
use Nahid\EnvatoPHP\Facades\Envato;

$user = Envato::me()->accounts();
dd($user->data);
```

```
// For envato purchase code verify

use Nahid\EnvatoPHP\Facades\Envato;

$purchaseCode = 'purchase_code_here';
$purchaseVerify = Envato::me()->sale($purchaseCode);
if($purchaseVerify->getStatusCode() == 200) {
   dd($purchaseVerify->data);
} else {
   dd("Invalid Purchase Code");
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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 ~32 days

Total

4

Last Release

3333d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3167309?v=4)[Nahid Bin Azhar](/maintainers/nahid)[@nahid](https://github.com/nahid)

---

Top Contributors

[![nahid](https://avatars.githubusercontent.com/u/3167309?v=4)](https://github.com/nahid "nahid (28 commits)")[![Shipu](https://avatars.githubusercontent.com/u/4118421?v=4)](https://github.com/Shipu "Shipu (7 commits)")[![TechTailor](https://avatars.githubusercontent.com/u/14147474?v=4)](https://github.com/TechTailor "TechTailor (1 commits)")

---

Tags

phpapilaravelenvatoenvato apienvato-php-apilaravel-envato-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nahid-envato-php/health.svg)

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)[jeroen-g/flickr

Modern PHP package to make Flickr API calls. Ships with Laravel implementation.

2559.9k2](/packages/jeroen-g-flickr)[shipu/php-aamarpay-payment

PHP client for Aamarpay Payment Gateway API

3214.6k](/packages/shipu-php-aamarpay-payment)

PHPackages © 2026

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