PHPackages                             webburza/sylius-customers-also-bought-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. [API Development](/categories/api)
4. /
5. webburza/sylius-customers-also-bought-bundle

ActiveSymfony-bundle[API Development](/categories/api)

webburza/sylius-customers-also-bought-bundle
============================================

Customers also bought bundle for the Sylius e-commerce platform.

v0.4.0(9y ago)6211MITPHP

Since Jun 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/webburza/sylius-customers-also-bought-bundle)[ Packagist](https://packagist.org/packages/webburza/sylius-customers-also-bought-bundle)[ RSS](/packages/webburza-sylius-customers-also-bought-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (9)Versions (8)Used By (0)

Sylius Customers Also Bought Bundle
===================================

[](#sylius-customers-also-bought-bundle)

[![Version](https://camo.githubusercontent.com/adc0c48e4853453a8a947e5a27b73ebbddb9f94cc9cc63b0b4602f48f4ca9683/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7765626275727a612f73796c6975732d637573746f6d6572732d616c736f2d626f756768742d62756e646c652e737667)](https://packagist.org/packages/webburza/sylius-customers-also-bought-bundle)[![Build Status](https://camo.githubusercontent.com/eed2c0504123e76761f2af00136d90686ead384238af2f526f20e20367782be8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7765626275727a612f73796c6975732d637573746f6d6572732d616c736f2d626f756768742d62756e646c652f6d61737465722e737667)](https://travis-ci.org/webburza/sylius-customers-also-bought-bundle)

This bundle adds a command to generate product associations from existing orders to Sylius e-commerce platform. Those associations can be used to show a **"Customers Who Bought This Item Also Bought"** section.

---

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

[](#installation)

1. require the bundle with Composer:

```
$ composer require webburza/sylius-customers-also-bought-bundle
```

2. enable the bundle in `app/AppKernel.php`:

```
public function registerBundles()
{
  $bundles = array(
    // ...
    new \Webburza\Sylius\CustomersAlsoBoughtBundle\WebburzaSyliusCustomersAlsoBoughtBundle(),
    // ...
  );
}
```

3. Configure a limit for associations per product. This way you can associate only the most often bought together products to each product. To configure the limit add this to your `app/config/config.yml`:

```
webburza_sylius_customers_also_bought:
    association_limit: 5
```

4. This bundle adds a console command that either generates or updates associations for all products. You should run it initially to generate associations and after that periodically to update them. It will create a new association type and use it for all generated associations.

```
$ app/console webburza:sylius-customers-also-bought:generate
```

If the command is behaving unusually or if you want more information on what it's doing, add a verbosity flag (-v)

You can also specify the association limit via an option when you run the command.

```
```bash
$ app/console webburza:sylius-customers-also-bought:generate --limit=5
```

```

Tests
-----

[](#tests)

For tests we use [Behat](http://behat.org) scenarios. After you run `composer install` (on the bundle itself, not your application), run the tests via:

```
$ vendor/bin/behat
```

The tests will run on a cleanly installed application, using in-memory SQLite database, to minimize configuration required on the system. This does however mean that you need to install/enable SQLite if you don't already use it.

License
-------

[](#license)

This bundle is available under the [MIT license](LICENSE).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~17 days

Total

6

Last Release

3591d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0d2c966196cdd33799a39abc3bef8f86fca23a295a1a7894d64308a2fab609c?d=identicon)[damijank](/maintainers/damijank)

![](https://www.gravatar.com/avatar/7be35f354249944b168f250d5231af64cf86f1994205ce86df5dff8501f3c205?d=identicon)[wellwho](/maintainers/wellwho)

![](https://www.gravatar.com/avatar/4dca25dc48256f6d8546e3ccd768f039803e6719f6427e6d3ef6fc8123171648?d=identicon)[njava](/maintainers/njava)

---

Top Contributors

[![tbmatuka](https://avatars.githubusercontent.com/u/1024167?v=4)](https://github.com/tbmatuka "tbmatuka (5 commits)")[![ychanan](https://avatars.githubusercontent.com/u/6249343?v=4)](https://github.com/ychanan "ychanan (2 commits)")

---

Tags

symfonysyliusassociationrelated productsweb.burza

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webburza-sylius-customers-also-bought-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/webburza-sylius-customers-also-bought-bundle/health.svg)](https://phpackages.com/packages/webburza-sylius-customers-also-bought-bundle)
```

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

46784.5k5](/packages/deepseek-php-deepseek-php-client)[webburza/sylius-article-bundle

Article bundle for Sylius e-commerce platform.

292.3k](/packages/webburza-sylius-article-bundle)

PHPackages © 2026

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