PHPackages                             answear/wide-eyes-bundle - 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. answear/wide-eyes-bundle

AbandonedArchivedSymfony-bundle

answear/wide-eyes-bundle
========================

API Client for WideEyes.

3.0.0(1y ago)113.8k1MITPHPPHP ^8.2

Since Dec 1Pushed 1y ago2 watchersCompare

[ Source](https://github.com/answear/wide-eyes-bundle)[ Packagist](https://packagist.org/packages/answear/wide-eyes-bundle)[ RSS](/packages/answear-wide-eyes-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (9)Dependencies (10)Versions (11)Used By (0)

Wide Eyes Bundle
================

[](#wide-eyes-bundle)

Wide Eyes integration for Symfony.
Documentation of the API can be found here: .

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

[](#installation)

- install with Composer

```
composer require answear/wide-eyes-bundle

```

`Answear\WideEyesBundle\AnswearWideEyesBundle::class => ['all' => true],`
should be added automatically to your `config/bundles.php` file by Symfony Flex.

Setup
-----

[](#setup)

- provide required config data: `privateKey`

```
# config/packages/answear_wide_eyes.yaml
answear_wide_eyes:
    publicKey: 'your_public_key'
```

config will be passed to `\Answear\WideEyesBundle\Service\ConfigProvider` class.

Usage
-----

[](#usage)

### Similar recommendations

[](#similar-recommendations)

For similar recommendations use `SimilarClient` and its method `getSimilar`.

```
use Answear\WideEyesBundle\Service\SimilarClient;

$similarResponse = $similarClient->getSimilar('uid', 'country');
```

Your agruments are: `uid` - your unique id for product and `country` - country for which products your asking. In result you're getting `SimilarResponse` that has `getUids` method - with similar uids returned by api.

### Search by image

[](#search-by-image)

For search by image use `SearchByImageClient`.

#### Detect and features

[](#detect-and-features)

To detect products on image and find theirs features use `detectAndFeatures`

```
use Answear\WideEyesBundle\Service\SearchByImageClient;

$detectAndFeturesResponse = $searchByImageClient->getSimilar('url');
```

Your agrument is: `url` - url to the image on which you want to detect products and features. In result you're getting `DetectAndFeaturesResponse` that contains all detection returned by api.

#### Search by feature

[](#search-by-feature)

To search products with previously found feature use `searchByFeature`

```
use Answear\WideEyesBundle\Service\SearchByImageClient;

$detectAndFeturesResponse = $searchByImageClient->searchByFeature('featureId', 'label', 'gender', 'filters', 'maxNumResults');
```

Your agruments are:

- `featureId` - featureId you got form DetectAndFeatures
- `label` - label you got form DetectAndFeatures
- `gender` - gender you got from DetectAndFeatures (optional)
- `filters` - result filters (optional)
- `maxNumResults` - maximal number of return products (optional)

In result you're getting `SearchByFeatureResponse` that contains all found products uids meeting your criteria.

Final notes
-----------

[](#final-notes)

Feel free to open pull requests with new features, improvements or bug fixes. The Answear team will be grateful for any comments.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance41

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 55.9% 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 ~175 days

Recently: every ~259 days

Total

9

Last Release

591d ago

Major Versions

1.3.1 → 2.0.02022-08-18

2.0.0 → 3.0.02024-10-03

PHP version history (3 changes)1.0PHP &gt;=7.4

2.0.0PHP &gt;=7.4|^8.0

3.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/09395def7b7f6c5cfa2cd4b2a115036b9b0c007c16edc114071ddab8b2505f34?d=identicon)[malarzm](/maintainers/malarzm)

![](https://avatars.githubusercontent.com/u/15999529?v=4)[Joanna Rawska](/maintainers/jrawska)[@jrawska](https://github.com/jrawska)

---

Top Contributors

[![jrawska](https://avatars.githubusercontent.com/u/15999529?v=4)](https://github.com/jrawska "jrawska (19 commits)")[![malarzm](https://avatars.githubusercontent.com/u/4947711?v=4)](https://github.com/malarzm "malarzm (5 commits)")[![ropczan](https://avatars.githubusercontent.com/u/24248440?v=4)](https://github.com/ropczan "ropczan (4 commits)")[![lukasz-falda](https://avatars.githubusercontent.com/u/55883656?v=4)](https://github.com/lukasz-falda "lukasz-falda (2 commits)")[![olekans](https://avatars.githubusercontent.com/u/135211410?v=4)](https://github.com/olekans "olekans (2 commits)")[![Wiktor6](https://avatars.githubusercontent.com/u/24683748?v=4)](https://github.com/Wiktor6 "Wiktor6 (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/answear-wide-eyes-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/answear-wide-eyes-bundle/health.svg)](https://phpackages.com/packages/answear-wide-eyes-bundle)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

71274.3k](/packages/bentools-webpush-bundle)

PHPackages © 2026

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