PHPackages                             c33s/construction-kit-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. [File &amp; Storage](/categories/file-storage)
4. /
5. c33s/construction-kit-bundle

AbandonedSymfony-bundle[File &amp; Storage](/categories/file-storage)

c33s/construction-kit-bundle
============================

Attach files to any (Propel) object using Symfony2

v0.3.2(10y ago)0133MITPHPPHP &gt;=5.4.0

Since Mar 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/vworldat/C33sConstructionKitBundle)[ Packagist](https://packagist.org/packages/c33s/construction-kit-bundle)[ Docs](https://github.com/vworldat/ConstructionKitBundle)[ RSS](/packages/c33s-construction-kit-bundle/feed)WikiDiscussions master Synced 1mo ago

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

Enable rapid configuration of Symfony2 project dependencies
===========================================================

[](#enable-rapid-configuration-of-symfony2-project-dependencies)

[![Build Status](https://camo.githubusercontent.com/3eae438b2b305860aaa639d45eb0feab6cb165b8d5823b9ac13e8631b70718d5/68747470733a2f2f7472617669732d63692e6f72672f76776f726c6461742f43333373436f6e737472756374696f6e4b697442756e646c652e737667)](https://travis-ci.org/vworldat/C33sConstructionKitBundle)[![SensioLabsInsight](https://camo.githubusercontent.com/dad60f942816e0a119bac91e44a214f6b4b0cc301b8a8e21f2c58bc41e58a404/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61666439626261612d333130392d346662612d626639622d6436623439386263363266362f6d696e692e706e67)](https://insight.sensiolabs.com/projects/afd9bbaa-3109-4fba-bf9b-d6b498bc62f6)[![codecov.io](https://camo.githubusercontent.com/4c6a31a89280b9d600f6cec34a9ebf0828b4654494a8f3cd5e0e38131e6214ca/687474703a2f2f636f6465636f762e696f2f6769746875622f76776f726c6461742f43333373436f6e737472756374696f6e4b697442756e646c652f636f7665726167652e7376673f6272616e63683d6d6173746572)](http://codecov.io/github/vworldat/C33sConstructionKitBundle?branch=master)

Is this for me?
---------------

[](#is-this-for-me)

Answer "yes" if those criteria match your requirements:

- developing/maintaining several Symfony projects
- using the same (or subsets of the same) bundles in most projects
- using the same (or subsets of the same) assets in the same places in most projects
- tired of enabling the same bundles and adding the same bundle configuration over and over again for each project
- necessity to keep parts of your projects in sync/up to date: make new bundles or assets available in ALL projects without having to do it manually

This is intended both for rapid development and long-term maintenance of reusable components in your own projects.

What does it do?
----------------

[](#what-does-it-do)

ConstructionKitBundle intends to ease project dependency maintenance by providing so-called *building blocks* that are used inside your projects.

A building block is a single class that provides information about:

- One or more Symfony bundles that are needed by this building block
- Optional YAML default configurations to include
- Optional (pre-filled) YAML configuration files to provide easily editable default configuration
- Optional assets (think js, css, ...), divided into groups that are available as assetic subsets
- Optional parameters to add to parameters.yml and parameters.yml.dist

Building blocks can be auto-installed upon recognition (configurable).

Composer integration
--------------------

[](#composer-integration)

Since ConstructionKit is set out to reduce the amount of manual tampering it allows to register building blocks in composer packages. Packages found by composer will be auto-discovered, so you only have to do 2 things:

- Add composer dependencies and run `composer update`
- Run `app/console construction-kit:refresh` to auto-install bundles, configuration and assets

Installation
============

[](#installation)

construction-kit relies on [`c33s/symfony-config-manipulator-bundle`](https://github.com/vworldat/C33sSymfonyConfigManipulatorBundle) to split and manage configuration files. This will probably refactor most of your configuration structure inside `app/config/`. Please head over to [`c33s/symfony-config-manipulator-bundle`](https://github.com/vworldat/C33sSymfonyConfigManipulatorBundle) to learn more and **DO NOT FORGET TO COMMIT YOUR CONFIGURATION BEFORE PROCEEDING**.

Require [`c33s/construction-kit-bundle`](https://packagist.org/packages/c33s/construction-kit-bundle) in your `composer.json` file:

```
{
    "require": {
        "c33s/construction-kit-bundle": "@stable",
    }
}

```

or, if you are using ['composer-yaml'](https://packagist.org/packages/igorw/composer-yaml):

```
require:
    c33s/construction-kit-bundle:     '@stable'

```

Register both needed bundles in `app/AppKernel.php`:

```

    // app/AppKernel.php

    public function registerBundles()
    {
        return array(
            // ... existing bundles
            new C33s\ConstructionKitBundle\C33sConstructionKitBundle(),
            new C33s\SymfonyConfigManipulatorBundle\C33sSymfonyConfigManipulatorBundle(),
        );
    }

```

Usage
=====

[](#usage)

After enabling both bundles, an initial file setup is needed. Just run the following command: `app/console construction-kit:refresh`

You will see something like this:

```
    ######################################################
    #                                                    #
    # The symfony configuration has been changed.        #
    #                                                    #
    # Please re-run the construction-kit:refresh command #
    #                                                    #
    ######################################################

```

Do as told and run `app/console construction-kit:refresh` again. Then check the file `app/config/config/c33s_construction_kit.map.yml`, which should contain the following configuration:

```
# This file is auto-updated each time construction-kit:refresh is called.
# This may happen automatically during various composer events (install, update)
#
# Follow these rules for your maximum building experience:
#
# [*] Only edit existing block classes in this file. If you need to add another custom building block class use the
#     composer extra 'c33s-building-blocks' or register your block as a tagged service (tag 'c33s_building_block').
#     Make sure your block implements C33s\ConstructionKitBundle\BuildingBlock\BuildingBlockInterface
#
# [*] You can enable or disable a full building block by simply setting the "enabled" flag to true or false, e.g.:
#     C33s\ConstructionKitBundle\BuildingBlock\ConstructionKitBuildingBlock:
#         enabled: true
#
#     If you enable a block for the first time, make sure the "force_init" flag is also set
#     C33s\ConstructionKitBundle\BuildingBlock\ConstructionKitBuildingBlock:
#         enabled: true
#         force_init: true
#
# [*] "use_config" and "use_assets" flags will only be used if block is enabled. They do not affect disabled blocks.
#
# [*] Asset lists will automatically be filled by all assets of asset-enabled blocks. To exclude specific assets, move them to their
#     respective "disabled" sections. You may also reorder assets - the order will be preserved.
#
# [*] Assets are made available through assetic using the @asset_group notation.
#
# [*] Custom YAML comments in this file will be lost!
#
c33s_construction_kit:
    mapping:
        building_blocks:
            C33s\ConstructionKitBundle\BuildingBlock\ConstructionKitBuildingBlock:
                enabled: true
                force_init: false
                use_config: true
                use_assets: true
            C33s\SymfonyConfigManipulatorBundle\BuildingBlock\ConfigManipulatorBuildingBlock:
                enabled: true
                force_init: false
                use_config: true
                use_assets: true
        assets: {  }

```

more to come.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Recently: every ~61 days

Total

9

Last Release

3803d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/649209?v=4)[Julian](/maintainers/c33s)[@c33s](https://github.com/c33s)

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

---

Top Contributors

[![vworldat](https://avatars.githubusercontent.com/u/650955?v=4)](https://github.com/vworldat "vworldat (28 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/c33s-construction-kit-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/c33s-construction-kit-bundle/health.svg)](https://phpackages.com/packages/c33s-construction-kit-bundle)
```

###  Alternatives

[jbouzekri/file-uploader-bundle

Aggregate some bundles and libraries to provide easy ajax file upload integration with functionnalities like image croping or storage on amazon

258.1k2](/packages/jbouzekri-file-uploader-bundle)

PHPackages © 2026

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