PHPackages                             sensiolabs/storybook-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sensiolabs/storybook-bundle

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

sensiolabs/storybook-bundle
===========================

Bundle to use Storybook with Symfony UX packages.

0.1.2(1y ago)5786.2k↓25%17[8 issues](https://github.com/sensiolabs/StorybookBundle/issues)[7 PRs](https://github.com/sensiolabs/StorybookBundle/pulls)MITTypeScriptPHP &gt;=8.1CI failing

Since May 7Pushed 1y ago6 watchersCompare

[ Source](https://github.com/sensiolabs/StorybookBundle)[ Packagist](https://packagist.org/packages/sensiolabs/storybook-bundle)[ RSS](/packages/sensiolabs-storybook-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (14)Versions (5)Used By (0)

Storybook For Symfony
=====================

[](#storybook-for-symfony)

[![Latest Version](https://camo.githubusercontent.com/4ec9d03dcd9241ff073d4315a31fede336770b573af91c3d92d4379243032373/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f73656e73696f6c6162732f53746f7279626f6f6b42756e646c652e7376673f7374796c653d666c61742d737175617265)](https://github.com/sensiolabs/StorybookBundle/releases)[![Total Downloads](https://camo.githubusercontent.com/4640d92da5a329380bad6ddf844be0c7eadde2f70bbca731f2a9d5150456743d/68747470733a2f2f706f7365722e707567782e6f72672f73656e73696f6c6162732f73746f7279626f6f6b2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/sensiolabs/storybook-bundle)[![Monthly Downloads](https://camo.githubusercontent.com/ccdccb7e7f1ce354f8e18cb566c9c83cc159f2e9862fcc746edf4c83d92635e3/68747470733a2f2f706f7365722e707567782e6f72672f73656e73696f6c6162732f73746f7279626f6f6b2d62756e646c652f642f6d6f6e74686c79)](https://packagist.org/packages/sensiolabs/storybook-bundle)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENCE)[![CI](https://github.com/sensiolabs/StorybookBundle/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/sensiolabs/StorybookBundle/actions/workflows/ci.yaml?query=branch%3Amain)

This bundle provides a basic integration for Storybook into a Symfony application using Twig Components.

> DISCLAIMER:
> This bundle is under active development. Some features may not work as expected and the current documentation may be incomplete.

Table of Content
----------------

[](#table-of-content)

1. [Installation](#installation)
2. [Getting Started](docs/getting-started.md)
3. [Configuration](docs/configuration.md)
    1. [Twig Rendering](docs/configuration.md#twig-rendering)
    2. [Symfony UX Packages](docs/configuration.md#symfony-ux-packages)
    3. [Configuration Reference](docs/configuration.md#configuration-reference)
4. [Storybook Features](docs/features.md)
    1. Stories
        1. [Writing Stories](docs/features/csf-stories.md)
        2. [Docs](docs/features/docs.md)
        3. [Play Function](docs/features/play-function.md)
    2. Addons
        1. [Actions](docs/addons/actions.md)
        2. [Interactions](docs/addons/interactions.md)
5. [Args Processors](docs/args-processors.md)
6. [Component Mock](docs/component-mock.md)
7. [Static Build](docs/static-build.md)

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

[](#installation)

To install the bundle into your project run:

```
composer require sensiolabs/storybook-bundle
```

Initialize Storybook in your project:

```
bin/console storybook:init
```

This will create basic configuration files and add required dependencies to your `package.json`.

Install new dependencies with:

```
npm install
```

Ensure your Symfony server is running on the same address defined in your `main.ts` configuration file. Then run the Storybook dev server with:

```
npm run storybook
```

License
=======

[](#license)

MIT License (MIT): see [LICENSE](./LICENSE).

References
==========

[](#references)

- [Storybook](https://storybook.js.org/)
- [TwigComponent](https://symfony.com/bundles/ux-twig-component/current/index.html)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75.6% 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 ~86 days

Total

3

Last Release

570d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/70517f2da516f65e2886381e15213831adb24018a3aec5e29778efb00352c188?d=identicon)[sensiolabs](/maintainers/sensiolabs)

---

Top Contributors

[![squrious](https://avatars.githubusercontent.com/u/7271091?v=4)](https://github.com/squrious "squrious (31 commits)")[![WebMamba](https://avatars.githubusercontent.com/u/32077734?v=4)](https://github.com/WebMamba "WebMamba (6 commits)")[![Jean-Beru](https://avatars.githubusercontent.com/u/6114779?v=4)](https://github.com/Jean-Beru "Jean-Beru (3 commits)")[![Taloud](https://avatars.githubusercontent.com/u/16608904?v=4)](https://github.com/Taloud "Taloud (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sensiolabs-storybook-bundle/health.svg)

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

###  Alternatives

[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ramsey/conventional-commits

A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook action!

1931.2M122](/packages/ramsey-conventional-commits)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)

PHPackages © 2026

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