PHPackages                             smalldb/smalldb-symfony-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. smalldb/smalldb-symfony-bundle

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

smalldb/smalldb-symfony-bundle
==============================

Symfony bundle for Smalldb

v2.0(5y ago)2581Apache-2.0PHPPHP &gt;=7.4

Since Apr 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/smalldb/smalldb-symfony-bundle)[ Packagist](https://packagist.org/packages/smalldb/smalldb-symfony-bundle)[ Docs](https://smalldb.org/)[ RSS](/packages/smalldb-smalldb-symfony-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (7)Versions (3)Used By (0)

Smalldb Symfony Bundle
======================

[](#smalldb-symfony-bundle)

Symfony bundle for Smalldb.

See

Features
--------

[](#features)

Smalldb Symfony Bundle integrates [libSmalldb](/libsmalldb) into Symfony framework, including the [Security subsystem](http://symfony.com/doc/current/security.html). It also provides convenient configuration and optional REST API.

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

[](#installation)

First, add the bundle into your `composer.json`:

```
{
    "require": {
        "smalldb/smalldb-symfony-bundle": "*"
    }
}
```

Then register the bundle in your `app/AppKernel.php`:

```
class AppKernel extends \Symfony\Component\HttpKernel\Kernel
{
	public function registerBundles()
	{
		return [
			// ...
			new Smalldb\SmalldbBundle\SmalldbBundle(),
			// ...
		];
	}
}

```

Finally, configure the bundle — `app/config/config.yml`:

```
# See: bin/console config:dump-reference SmalldbBundle
smalldb:
    smalldb:
        base_dir: '%kernel.root_dir%/../src/AppBundle/StateMachines'
        cache_disabled: false
    flupdo:
        driver: mysql
        host: ~
        port: ~
        database: ~
        username: ~
        password: ~
        log_query: false
        log_explain: false
    auth:
        class: Smalldb\StateMachine\Auth\CookieAuth
```

… and enable authentication listener in `app/config/security.yml`:

```
security:
    firewalls:
        main:
            smalldb: ~
```

REST API can be enabled using predefined routes — `app/config/routing.yml`:

```
smalldb:
        resource: "@SmalldbBundle/Resources/config/routing.yml"
```

Usage
-----

[](#usage)

Smaldb Symfony bundle registers `JsonDirBackend` as `smalldb` service.

Therefore you may use `$this->get('smalldb')` to retrieve Smalldb backend in your controllers, or better inject it using `@smalldb` identifier in the configuration files.

Documentation
-------------

[](#documentation)

See

License
-------

[](#license)

The most of the code is published under Apache 2.0 license. See [LICENSE](Resources/doc/license.md) file for details.

Contribution guidelines
-----------------------

[](#contribution-guidelines)

Project's primary repository is hosted at , feel free to submit issues there or create merge requests.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

2

Last Release

2142d ago

Major Versions

v0.1 → v2.02020-08-18

PHP version history (2 changes)v0.1PHP &gt;=7.3

v2.0PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16572?v=4)[Josef Kufner](/maintainers/jkufner)[@jkufner](https://github.com/jkufner)

---

Top Contributors

[![jkufner](https://avatars.githubusercontent.com/u/16572?v=4)](https://github.com/jkufner "jkufner (86 commits)")

---

Tags

smalldbstate-machinesymfony-bundle

### Embed Badge

![Health badge](/badges/smalldb-smalldb-symfony-bundle/health.svg)

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

PHPackages © 2026

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