PHPackages                             bhavinjr/laravel-ekomi - 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. bhavinjr/laravel-ekomi

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bhavinjr/laravel-ekomi
======================

Ekomi laravel package

v1.1(7y ago)020MITPHPPHP &gt;=5.6.0

Since Aug 17Pushed 7y agoCompare

[ Source](https://github.com/bhavinjr/laravel-ekomi)[ Packagist](https://packagist.org/packages/bhavinjr/laravel-ekomi)[ RSS](/packages/bhavinjr-laravel-ekomi/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

laravel-ekomi
=============

[](#laravel-ekomi)

[![Latest Stable Version](https://camo.githubusercontent.com/deadfe07feb83d5237aeb27e418fd7ef898ee37456061c95ea9979fe2ebcc545/68747470733a2f2f706f7365722e707567782e6f72672f62686176696e6a722f6c61726176656c2d656b6f6d692f762f737461626c65)](https://packagist.org/packages/bhavinjr/laravel-ekomi)[![Total Downloads](https://camo.githubusercontent.com/fa220fcc8eccdd045401c78a87f420cad7b5bbb69509c1f66a928a8a63d393f1/68747470733a2f2f706f7365722e707567782e6f72672f62686176696e6a722f6c61726176656c2d656b6f6d692f646f776e6c6f616473)](https://packagist.org/packages/bhavinjr/laravel-ekomi)[![License](https://camo.githubusercontent.com/52ec1bf5b71c0120b25c4fc90b98364328a55579423085c3962335af49d3e5d5/68747470733a2f2f706f7365722e707567782e6f72672f62686176696e6a722f6c61726176656c2d656b6f6d692f6c6963656e7365)](https://packagist.org/packages/bhavinjr/laravel-ekomi)

```
lararvel-ekomi based on eKomi_APIv3

```

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

[](#installation)

First, you'll need to install the package via Composer:

```
$ composer require bhavinjr/laravel-ekomi
```

If you are don't use using Laravel 5.5.\* Then, update `config/app.php` by adding an entry for the service provider.

```
'providers' => [
    // ...
    Bhavinjr\Ekomi\Providers\EkomiServiceProvider::class,
];

'aliases' => [
    //...
    "Ekomi": "Bhavinjr\Ekomi\Facades\Ekomi",
];
```

In command line paste this command:

```
php artisan config:cache
```

In command line again, publish the default configuration file:

```
php artisan vendor:publish --provider="Bhavinjr\Ekomi\Providers\EkomiServiceProvider"
```

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

[](#configuration)

Configuration was designed to be as flexible. global configuration can be set in the `config/ekomi.php` file.

after update `config/ekomi.php` file.

```
php artisan config:cache
```

Usage
-----

[](#usage)

The package gives you the following methods to use:

### PutProduct

[](#putproduct)

```
use Bhavinjr\Ekomi\Services\PutProduct;
use Ekomi;

$putProduct = new PutProduct();
$putProduct->setProductId(1)
           ->setProductName('t-shirt')
           ->setProductOther('json or serialized array') //optional. if has additional data such as categories, image_urls etc..
           ->setProductCanonicalLink('www.laravel-ekomi.com/t-shirt'); //optional

Ekomi::create($putProduct);
```

### PutOrder

[](#putorder)

```
$putOrder = new PutOrder();
$putOrder->setOrderId(1)
         ->setProductIds(1) //if more than on products '1,2'
         ->setOrderTimestamp('2018-08-16'); // YYYY-MM-DD

Ekomi::create($putOrder);
```

### PutComment

[](#putcomment)

```
$putComment = new PutComment();
$putComment->setOrderId(1)
           ->setComment('laravel+ekomi') //Must be urlencoded.
           ->setUpdate('replace or delete'); //optional

Ekomi::create($putComment);
```

### PutDialog

[](#putdialog)

```
$putDialog = new PutDialog();
$putDialog->setOrderId(1)
          ->setMessage('laravel+ekomi'); //Must be urlencoded

Ekomi::create($putDialog);
```

### PutClient

[](#putclient)

```
$putClient = new PutClient();
$putClient->setClientId(1)
          ->setEmail('bhavin@gmail.com'); //optional

Ekomi::create($putClient);

also check other optional properties:
setLocale, setScreenName, setFirstName, setLastName, setCountry, setCity, setZip, setGender, setBirthdate, setMetadata
```

### AssignClientOrder

[](#assignclientorder)

```
$assignOrder = new AssignClientOrder();
$assignOrder->setOrderId(1)
            ->setClientId(1)
            ->setUnlink(false); //true if want to removes the order_id assignment

Ekomi::create($assignOrder);
```

### GetAverage

[](#getaverage)

```
$getAverage = new GetAverage();
$getAverage->setDays(8); //optional

Ekomi::create($getAverage);
```

### GetDialog

[](#getdialog)

```
$getDialog = new GetDialog();
$getDialog->setContent('process_only') //optional
	  ->setRange('all') //optional
	  ->setFilter('all'); //optional

Ekomi::create($getDialog);
```

### GetFeedback

[](#getfeedback)

```
$getFeedback = new GetFeedback();
$getFeedback->setCaching('verylong') //optional available none, short, middle, long, verylong
	    ->fields('date,order_id'); //optional

Ekomi::create($getFeedback);

also check other optional properties:
setFilter, setRange
```

Also other methods is available

```
GetMarketResearch, GetProduct, GetProductFeedback, GetProductResearch, GetRated, GetResearch, GetSettings, GetSnapshot, GetVisitorFeedback

also use setType and setCharset properties to any methods

=> setType is used for output

	default type set is 'json' (json or serialized)

=> setCharset is used for Character encoding

	default charset set is 'iso'

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~163 days

Total

2

Last Release

2662d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/01c6fe33126dfd61eb9a802f458eb760ffbcae3a091e76b89aeb8b6c0e8678a0?d=identicon)[bhavinjr](/maintainers/bhavinjr)

---

Top Contributors

[![bhavinjr](https://avatars.githubusercontent.com/u/30195960?v=4)](https://github.com/bhavinjr "bhavinjr (2 commits)")

---

Tags

ekomiekomi-feedbackekomi-laravelekomi-ratingekomi-reviewlaravellaravel-ekomilaravelekomilaravel ekomiekomi laravelekomi feedbackekomi ratingekomi review

### Embed Badge

![Health badge](/badges/bhavinjr-laravel-ekomi/health.svg)

```
[![Health](https://phpackages.com/badges/bhavinjr-laravel-ekomi/health.svg)](https://phpackages.com/packages/bhavinjr-laravel-ekomi)
```

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)[bakame/laravel-domain-parser

Laravel package to integrate PHP Domain parser.

26534.8k4](/packages/bakame-laravel-domain-parser)

PHPackages © 2026

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