PHPackages                             robi/easyfieapi - 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. robi/easyfieapi

ActiveLibrary[API Development](/categories/api)

robi/easyfieapi
===============

EasyFie api

v4.1(1y ago)079MITPHPCI passing

Since Feb 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/easyfie/EasyfieApi)[ Packagist](https://packagist.org/packages/robi/easyfieapi)[ RSS](/packages/robi-easyfieapi/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (34)Used By (0)

EasyFie API PHP Client
======================

[](#easyfie-api-php-client)

The EasyFie API PHP Client is a simple and easy-to-use library for interacting with the EasyFie API. This library provides methods to authenticate, retrieve user data, manage orders, and more.

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

[](#installation)

You can install the EasyFie API PHP Client via Composer:

```
composer require robi/easyfieapi
```

Usage
-----

[](#usage)

### Instantiate the Client

[](#instantiate-the-client)

First, you need to instantiate the EasyFie class:

```
use EasyFie\EasyFie;

$easyFie = new EasyFie();
```

### Get API Token

[](#get-api-token)

To authenticate and get an API token, use the `getToken` method:

```
$token = $easyFie->getToken('your_username', 'your_password');
```

### Get User Profile

[](#get-user-profile)

To retrieve the user profile data, use the `Me` method:

```
$profile = $easyFie->Me($token);
```

### Get Web Data

[](#get-web-data)

To retrieve web data, use the `WebData` method:

```
$webData = $easyFie->WebData($token);
```

### Get All Categories

[](#get-all-categories)

To retrieve all categories, use the `getAllCategories` method:

```
$categories = $easyFie->getAllCategories($token);
```

### Get Themes Color

[](#get-themes-color)

To retrieve themes color, use the `getThemesColor` method:

```
$themesColor = $easyFie->getThemesColor($token);
```

### Get Generated Pages

[](#get-generated-pages)

To retrieve generated pages, use the `generatedPages` method:

```
$generatedPages = $easyFie->generatedPages($token);
```

### Get Single Generated Page

[](#get-single-generated-page)

To retrieve a single generated page by slug, use the `generatedPageSingle` method:

```
$generatedPage = $easyFie->generatedPageSingle($token, 'your_slug');
```

### Get Meta Data

[](#get-meta-data)

To retrieve meta data, use the `getMetaData` method:

```
$metaData = $easyFie->getMetaData($token);
```

### Get Products or Blogs

[](#get-products-or-blogs)

To retrieve products or blogs, use the `ProductsOrBlogs` method:

```
$productsOrBlogs = $easyFie->ProductsOrBlogs($token, 'products', 10, 'asc', 1);
```

### Get Single Data

[](#get-single-data)

To retrieve single data by type and ID, use the `SingleData` method:

```
$singleData = $easyFie->SingleData($token, 'products', 123);
```

### Get Single Category Data

[](#get-single-category-data)

To retrieve single category data, use the `singleCategories` method:

```
$singleCategory = $easyFie->singleCategories($token, 1, 10, 1);
```

### Search Data

[](#search-data)

To search data by type and keyword, use the `Search` method:

```
$searchResults = $easyFie->Search($token, 'products', 'keyword', 10);
```

### Place an Order

[](#place-an-order)

To place an order, use the `Orders` method:

```
$order = $easyFie->Orders($token, ['product_id' => 123, 'quantity' => 1]);
```

### Update Order Payment Status

[](#update-order-payment-status)

To update the payment status of an order, use the `OrdersPayment` method:

```
$orderPayment = $easyFie->OrdersPayment($token, 123, 'paid');
```

### Get Notifications

[](#get-notifications)

To retrieve notifications, use the `notify` method:

```
$notifications = $easyFie->notify($token);
```

### Generate Pagination

[](#generate-pagination)

To generate pagination HTML, use the `Paginate` method:

```
$pagination = $easyFie->Paginate(1, 100, 10);
```

### Get Portfolio Data

[](#get-portfolio-data)

To retrieve portfolio data, use the `Portfolio` method:

```
$portfolio = $easyFie->Portfolio($token, 10, 'asc', 1);
```

### Check Plugin Status

[](#check-plugin-status)

To check the status of a plugin, use the `plugin_checker` method:

```
$pluginStatus = $easyFie->plugin_checker($token, 123);
```

Error Handling
--------------

[](#error-handling)

The library returns JSON-encoded error messages for invalid inputs or API errors. You can decode the JSON to handle errors appropriately:

```
$error = json_decode($easyFie->getToken('', ''));
if (isset($error->error)) {
    echo $error->error;
}
```

Contributing
------------

[](#contributing)

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License
-------

[](#license)

This project is licensed under the MIT License. See the LICENSE file for details.

Support
-------

[](#support)

For support, please open an issue on GitHub or contact the maintainer.

---

This documentation should help you get started with the EasyFie API PHP Client. For more detailed information, refer to the source code and the official EasyFie API documentation.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance48

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 88.3% 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 ~36 days

Recently: every ~3 days

Total

33

Last Release

380d ago

Major Versions

v1.9.1 → v2.12022-03-08

v2.9 → v3.12025-01-14

v3.9 → v4.12025-05-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/0465c844dc351a12c5f4caacd3d6021d4a987901e35a50ae410c42ee5961fe58?d=identicon)[touhid12310](/maintainers/touhid12310)

---

Top Contributors

[![touhid12310](https://avatars.githubusercontent.com/u/10785280?v=4)](https://github.com/touhid12310 "touhid12310 (53 commits)")[![easyfie](https://avatars.githubusercontent.com/u/44037107?v=4)](https://github.com/easyfie "easyfie (7 commits)")

### Embed Badge

![Health badge](/badges/robi-easyfieapi/health.svg)

```
[![Health](https://phpackages.com/badges/robi-easyfieapi/health.svg)](https://phpackages.com/packages/robi-easyfieapi)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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