PHPackages                             smartbox/core-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. [Framework](/categories/framework)
4. /
5. smartbox/core-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

smartbox/core-bundle
====================

Smartbox Core Bundle

v1.8.0(6y ago)034.6k↓35.7%3[1 PRs](https://github.com/smartboxgroup/core-bundle/pulls)2MITPHPPHP &gt;=7.0

Since Oct 12Pushed 3y ago11 watchersCompare

[ Source](https://github.com/smartboxgroup/core-bundle)[ Packagist](https://packagist.org/packages/smartbox/core-bundle)[ RSS](/packages/smartbox-core-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (25)Used By (2)

SmartboxCoreBundle
==================

[](#smartboxcorebundle)

Core features

[![Latest Stable Version](https://camo.githubusercontent.com/075f4f6a28438b86a38a326ffc279e7ddb68fb725c528b05281a73d89cb76776/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736d617274626f782f636f72652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/smartbox/core-bundle)[![Minimum PHP Version](https://camo.githubusercontent.com/4f932f73805d15db08ccaff5353e0c2529d22df05fd40f8e61bdb4b0a77d9029/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d7e253230372e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Build Status](https://camo.githubusercontent.com/ad25821c1c805d65f19101506821ced8c673492fdc44b776889d33258795d84f/68747470733a2f2f7472617669732d63692e6f72672f736d617274626f7867726f75702f636f72652d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/smartboxgroup/core-bundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/675f3b5446a6a5eaf3ea511cbeaca588e807ff25982aa80437baa4e84db83f5e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736d617274626f7867726f75702f636f72652d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/smartboxgroup/core-bundle/?branch=master)

Installation and usage
----------------------

[](#installation-and-usage)

To install the bundle, you just need to:

1. Add the repository to composer as:

```
    "require": {
        "smartbox/core-bundle": "dev-master"
    },

```

2. Add it to your AppKernel.php file new Smartbox\\CoreBundle\\SmartboxCoreBundle(),
3. Configure bundle:

```
  php console.php config:dump-reference smartbox_core

```

```
\# Default configuration for extension with alias: "smartbox_core"

```

```
  smartbox_core:

      # Base path to store/lookup the entity fixtures
      fixtures_path:        null

      # Namespaces to look for entity classes
      entities_namespaces:  []

      # Configure cache drivers.
      #
      #     1) predis (predefined driver which requires https://github.com/snc/SncRedisBundle and predis library/extension)
      #         - add packages to composer.json:
      #             "snc/redis-bundle": "^1.1"
      #             "predis/predis": "^1.0"
      #
      #         - register bundle in AppKernel.php:
      #             new Snc\RedisBundle\SncRedisBundle(),
      #
      #         - define "cache" client for SncRedisBundle:
      #             snc_redis:
      #                 clients:
      #                     cache:
      #                         type: predis
      #                         alias: default
      #                         dsn: redis://localhost
      #
      #         - add configuration to your config.yml:
      #             smartbox_core:
      #                 cache_drivers:
      #                     predis:
      #                         service: ~
      #
      #         - you can access this driver by service reference @smartcore.cache_driver.predis
      #
      #     2) null (predefined driver just to simulate the cache - nothing is stored in cache)
      #         - add configuration to your config.yml:
      #             smartbox_core:
      #                 cache_drivers:
      #                     null:
      #                         service: ~
      #
      #         - you can access this driver by service reference @smartcore.cache_driver.null
      #
      #     3) custom driver with any name
      #         - create your own cache service which implements Smartbox\CoreBundle\Utils\Cache\CacheServiceInterface
      #             class MyCacheService implements Smartbox\CoreBundle\Utils\Cache\CacheServiceInterface
      #             {
      #                 // implement methods
      #             }
      #
      #         - register service
      #             my_cache_driver_service_id:
      #                 class: MyCacheService
      #
      #         - add configuration to your config.yml:
      #             smartbox_core:
      #                 cache_drivers:
      #                     my_cache_driver:
      #                         service: "@my_cache_driver_service_id"
      #
      #         - you can access this driver by service reference @smartcore.cache_driver.my_cache_driver
      #
      cache_drivers:        # Required

          # Prototype
          driver_name:

              # Service id for the cache driver (@service_id or just service_id)
              service:              ~ # Required

              # If any of drivers is marked as default, the first defined driver will be taken. Otherwise the last one marked as default will be used.
              default:              ~

      # Configure serialization cache
      serialization_cache:

          # Enable or disable serialization cache.
          enabled:              false

          # Driver name: predis or any other custom driver configured in "smartbox_core.cache_drivers".
          cache_driver:         smartcore.cache_service

```

Tools
-----

[](#tools)

### smartbox:core:generate:random-fixture

[](#smartboxcoregeneraterandom-fixture)

Generates a random fixture of a smartesb entity. The fixture can be seen as sample data associated to a view and a main entity.

Usage: `php app/console smartbox:core:generate:random-fixture --help`

Example: `php app/console smartbox:core:generate:random-fixture NiceBoxEntity --entity-group the-view-for-a-nice-box --entity-version v0`

### smartbox:smoke-test

[](#smartboxsmoke-test)

Run all services tagged with "smartcore.smoke\_test".

Usage: `php app/console smartbox:smoke-test --help`

Example:

- `php app/console smartbox:smoke-test --list`
- `php app/console smartbox:smoke-test`
- `php app/console smartbox:smoke-test test my_project.producers.my_producer.connectivity_smoke_test_run`

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

[](#contributing)

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

Tests
-----

[](#tests)

Check out the small test app within Tests/Fixtures/app

History
-------

[](#history)

Contributors
------------

[](#contributors)

Jose Rufino, Marcin Skurski, Luciano Mammino, Alberto Rodrigo, David Camprubi, Arthur Thevenet, Bertrand Drouhard, Mel McCann, Shane McKinley.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~145 days

Recently: every ~123 days

Total

10

Last Release

2199d ago

PHP version history (3 changes)v1.0.0PHP &gt;=5.6

v1.1.1PHP &gt;=5.6.0

v1.6.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/50032476173d7e6ada5684ecd936e660cf0a41d0f178e25ac53a8bd93308f076?d=identicon)[smartboxgroup](/maintainers/smartboxgroup)

![](https://avatars.githubusercontent.com/u/44230523?v=4)[sbx-integrations](/maintainers/sbx-integrations)[@sbx-integrations](https://github.com/sbx-integrations)

---

Top Contributors

[![jbaquero](https://avatars.githubusercontent.com/u/4661531?v=4)](https://github.com/jbaquero "jbaquero (56 commits)")[![mskurski](https://avatars.githubusercontent.com/u/3276138?v=4)](https://github.com/mskurski "mskurski (53 commits)")[![moonraking](https://avatars.githubusercontent.com/u/2804784?v=4)](https://github.com/moonraking "moonraking (37 commits)")[![campru](https://avatars.githubusercontent.com/u/4568007?v=4)](https://github.com/campru "campru (31 commits)")[![andreskrey](https://avatars.githubusercontent.com/u/8786949?v=4)](https://github.com/andreskrey "andreskrey (24 commits)")[![melmccann](https://avatars.githubusercontent.com/u/17508923?v=4)](https://github.com/melmccann "melmccann (12 commits)")[![BertrandF23](https://avatars.githubusercontent.com/u/16890058?v=4)](https://github.com/BertrandF23 "BertrandF23 (9 commits)")[![GaryPEGEOT](https://avatars.githubusercontent.com/u/8696117?v=4)](https://github.com/GaryPEGEOT "GaryPEGEOT (5 commits)")[![andreymor](https://avatars.githubusercontent.com/u/4126694?v=4)](https://github.com/andreymor "andreymor (2 commits)")[![Thevart](https://avatars.githubusercontent.com/u/3297319?v=4)](https://github.com/Thevart "Thevart (2 commits)")[![lmammino](https://avatars.githubusercontent.com/u/205629?v=4)](https://github.com/lmammino "lmammino (1 commits)")

### Embed Badge

![Health badge](/badges/smartbox-core-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/smartbox-core-bundle/health.svg)](https://phpackages.com/packages/smartbox-core-bundle)
```

###  Alternatives

[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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