PHPackages                             klehm/content-blocks-kit - 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. klehm/content-blocks-kit

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

klehm/content-blocks-kit
========================

Ready-to-use block types for ContentBlocks (Text, Title, Image, Tabs).

v0.1.0-alpha.11(3w ago)09↓100%MITPHPPHP &gt;=8.2

Since Apr 29Pushed 3w agoCompare

[ Source](https://github.com/Klehm/content-blocks-kit)[ Packagist](https://packagist.org/packages/klehm/content-blocks-kit)[ Docs](https://github.com/klehm/content-blocks-project)[ RSS](/packages/klehm-content-blocks-kit/feed)WikiDiscussions main Synced 1w ago

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

ContentBlocks Kit
=================

[](#contentblocks-kit)

Ready-to-use block types for [`klehm/content-blocks`](https://github.com/klehm/content-blocks).

Included blocks
---------------

[](#included-blocks)

TypeClass`text``TextBlock``title``TitleBlock``image``ImageBlock``tabs``TabsBlock`Installation
------------

[](#installation)

```
composer require klehm/content-blocks klehm/content-blocks-kit
```

The blocks are auto-registered via Symfony autoconfiguration (`#[AsContentBlock]` attribute) — no extra configuration needed.

Overriding block templates
--------------------------

[](#overriding-block-templates)

Drop a file at the matching relative path under `templates/bundles/ContentBlocksKitBundle/` to override any template shipped by this kit — e.g. `templates/bundles/ContentBlocksKitBundle/block/image/view.html.twig` overrides the image view, `templates/bundles/ContentBlocksKitBundle/form/image_theme.html.twig` overrides the upload widget.

> Requires `klehm/content-blocks-kit >= 0.1.0-alpha.4` for overrides to take priority. Earlier versions manually registered the vendor `templates/` path under `@ContentBlocksKit`, which shadowed the host's `templates/bundles/ContentBlocksKitBundle/` directory.

File uploads
------------

[](#file-uploads)

`ImageBlock` requires a `FileStorageInterface` implementation. The kit ships with `LocalFileStorage`:

```
# config/services.yaml
ContentBlocks\Storage\FileStorageInterface:
    class: ContentBlocks\Storage\LocalFileStorage
    arguments:
        $uploadDir: '%kernel.project_dir%/public/uploads/content-blocks'
        $publicPrefix: '/uploads/content-blocks'
```

Documentation &amp; contributing
--------------------------------

[](#documentation--contributing)

Full documentation and development setup live in the monorepo: [github.com/klehm/content-blocks-project](https://github.com/klehm/content-blocks-project)

License
-------

[](#license)

MIT

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance95

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

11

Last Release

21d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/055eb982eabf9a57364115de95d0bef94a2c9e2e36ac8ad8439bdf7932305ccf?d=identicon)[Klehm](/maintainers/Klehm)

---

Top Contributors

[![Klehm](https://avatars.githubusercontent.com/u/6897289?v=4)](https://github.com/Klehm "Klehm (14 commits)")

---

Tags

symfonyblocksSymfony BundleContent Blockspage builder

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/klehm-content-blocks-kit/health.svg)

```
[![Health](https://phpackages.com/badges/klehm-content-blocks-kit/health.svg)](https://phpackages.com/packages/klehm-content-blocks-kit)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M370](/packages/easycorp-easyadmin-bundle)[kimai/kimai

Kimai - Time Tracking

4.7k8.7k1](/packages/kimai-kimai)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[prestashop/prestashop

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

9.1k16.8k](/packages/prestashop-prestashop)[sulu/sulu

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

1.3k1.4M195](/packages/sulu-sulu)[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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