PHPackages                             ibrows/simplecms-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. ibrows/simplecms-bundle

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

ibrows/simplecms-bundle
=======================

Symfony Simple CMS Bundle

5.2.2(10y ago)011.1kMITPHPPHP &gt;=5.3.3CI failing

Since Mar 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ibrows/IbrowsSimpleCMSBundle)[ Packagist](https://packagist.org/packages/ibrows/simplecms-bundle)[ Docs](http://www.ibrows.ch)[ RSS](/packages/ibrows-simplecms-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (2)Versions (30)Used By (0)

IbrowsSimpleCMSBundle - Simple CMS for anyone anywhere
======================================================

[](#ibrowssimplecmsbundle---simple-cms-for-anyone-anywhere)

Setup the bundle
----------------

[](#setup-the-bundle)

1. Fetch the source code
2. Add the namespace to your autoloader
3. Add the bundle to your `AppKernel` class
4. Add routing
5. Generate Schema
6. Permissions
7. Enjoy

How to use simple CMS
---------------------

[](#how-to-use-simple-cms)

Just add a tag to your twig file to allow user to edit a specific entity type (by default, text &amp; image is provided)

Some Examples

```
{# add a text with key 'mycustomtextidentifier'  #}
{{ 'mycustomtextidentifier'|scms('text') }}

{# add a image with key 'mycustomimageidentifier'  #}
{{ scms('mycustomimageidentifier','image') }}

{# add a collections of texts with key 'mycustomtextidentifier'  #}
{{ 'mycustomtextidentifier'|scms_collection('text') }}

{# add a collections of images with key 'mycustomimageidentifier'  #}
{{ scms_collection('mycustomimageidentifier','image') }}
```

Advanced examples
-----------------

[](#advanced-examples)

Single image with `my` class and inline editorstyle (instead of block) and a specific locale (default is the current locale)

```
{{ scms('mycustomidentifier','image',{'inline':true,'attr':{'class':'mycssclass'} },'de_CH'  ) }}
```

Flexible amount of wysiwyg text elements

```
{{ scms_collection('mycustomidentifier','text',{'html':true}) }}
```

Install &amp; setup the bundle
------------------------------

[](#install--setup-the-bundle)

1. Fetch the source code

    Add IbrowsSimpleCMSBundle in your composer.json:

    ```
    {
        "require": {
            "ibrows/simplecms-bundle": "*"
        }
    }
    ```

    Now tell composer to download the bundle by running the command:

    ```
    $ php composer.phar update ibrows/simplecms-bundle
    ```

    Composer will install the bundle to your project's `ibrows/simplecms-bundle` directory.
2. Add the bundle to your `AppKernel` class

    ```
    // app/AppKernerl.php
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Ibrows\SimpleCMSBundle\IbrowsSimpleCMSBundle(),
            // ...
        );
        // ...
    }
    ```
3. Add routing

    ```
    // app/config/routing.yml

    IbrowsSimpleCMSBundle:
        resource: "@IbrowsSimpleCMSBundle/Controller/"
        type:     annotation
        prefix:   /scms

    # use the alias routing
    IbrowsSimpleCMSBundleAlias:
        resource: .
        type:     ibrows_router
        prefix:   /

    ```
4. Generate Schema

    ```
    php app/console doctrine:schema:update  --force
    ```
5. Permissions

    Get permissions for FileUpload, default folder is web-dir `uploads/documents`

Minimal configuration
---------------------

[](#minimal-configuration)

This bundle requires Nothing !

Additional configuration
------------------------

[](#additional-configuration)

### Edit default config

[](#edit-default-config)

```
# app/config/conf.yml

    ibrows_simple_cms:
      include_js_libs: true
      upload_dir: 'uploads/documents'
      role: ROLE_IS_AUTHENTICATED_ANONYMOUSLY

```

### Add security per type

[](#add-security-per-type)

```
# app/config/conf.yml

    ibrows_simple_cms:
      types:
    # defaults
        text: { class: Ibrows\SimpleCMSBundle\Entity\TextContent , type: Ibrows\SimpleCMSBundle\Form\TextContentType, security:{general: ROLE_ADMIN} }
        image: { class: Ibrows\SimpleCMSBundle\Entity\ImageContent, type: Ibrows\SimpleCMSBundle\Form\FileContentType, security:{general: ROLE_ADMIN, show: ROLE_SUPER_ADMIN, create: ROLE_SUPER_ADMIN , edit: ROLE_SUPER_ADMIN , delete: ROLE_SUPER_ADMIN  } }

```

### Edit TinyMCE Options

[](#edit-tinymce-options)

```
# app/config/conf.yml

    ibrows_simple_cms:
      wysiwyg:
        theme: 'advanced'
        theme_advanced_buttons1: 'bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect'
    # other configs...

```

### Add types

[](#add-types)

Add / Edit types of Content:

```
# app/config/conf.yml

    ibrows_simple_cms:
      types:
        # defaults
        text: { class: Ibrows\SimpleCMSBundle\Entity\TextContent , type: Ibrows\SimpleCMSBundle\Form\TextContentType }
        image: { class: Ibrows\SimpleCMSBundle\Entity\ImageContent, type: Ibrows\SimpleCMSBundle\Form\FileContentType}
        # custom
        mytext: { class: Ibrows\SimpleCMSBundle\Entity\TextContent , type: Ibrows\SimpleCMSBundle\Form\TextContentType , repository: Ibrows\SimpleCMSBundle\Repository\TextContent, label:first}
        mycustomentity: { class: Ibrows\XXXBundle\Entity\YYYContent , type: Ibrows\SimpleCMSBundle\Form\YYYContentType , repository: Ibrows\SimpleCMSBundle\Repository\Content, label:myone}

```

Your YYYContent Entity have to implement `Ibrows\SimpleCMSBundle\Entity\ContentInterface` or extend `Ibrows\SimpleCMSBundle\Entity\Content` or a Child of it. It's also a good idea to extend `Ibrows\SimpleCMSBundle\ContentType` in your FormType.

Screenshots
-----------

[](#screenshots)

[![SimpleCMS1](https://camo.githubusercontent.com/7adfc46496c0cd3bab79e33f42244d04ac35f9d488937c5dd8ad4285207a3326/687474703a2f2f6962726f77732e63682f746c5f66696c65732f636f6e74656e742f6e657773626c6f672f746561736572696d616765732f73696d706c65312e706e67 "Simple CMS")](https://camo.githubusercontent.com/7adfc46496c0cd3bab79e33f42244d04ac35f9d488937c5dd8ad4285207a3326/687474703a2f2f6962726f77732e63682f746c5f66696c65732f636f6e74656e742f6e657773626c6f672f746561736572696d616765732f73696d706c65312e706e67)

[![SimpleCMS2](https://camo.githubusercontent.com/dd954037226e1daa018f5f323136da082efa683b8a908068fa415665e0dc6c22/687474703a2f2f6962726f77732e63682f746c5f66696c65732f636f6e74656e742f6e657773626c6f672f746561736572696d616765732f73696d706c65322e706e67 "Simple CMS")](https://camo.githubusercontent.com/dd954037226e1daa018f5f323136da082efa683b8a908068fa415665e0dc6c22/687474703a2f2f6962726f77732e63682f746c5f66696c65732f636f6e74656e742f6e657773626c6f672f746561736572696d616765732f73696d706c65322e706e67)

[![SimpleCMS3](https://camo.githubusercontent.com/2d721e246463d45004cbce36f03ec66aabccf3aca8d3d5402d8b60694e85f272/687474703a2f2f6962726f77732e63682f746c5f66696c65732f636f6e74656e742f6e657773626c6f672f746561736572696d616765732f73696d706c65332e706e67 "Simple CMS")](https://camo.githubusercontent.com/2d721e246463d45004cbce36f03ec66aabccf3aca8d3d5402d8b60694e85f272/687474703a2f2f6962726f77732e63682f746c5f66696c65732f636f6e74656e742f6e657773626c6f672f746561736572696d616765732f73696d706c65332e706e67)

TODO
----

[](#todo)

- create the ODM version

AUTHORS
-------

[](#authors)

Developed at iBROWS GmbH Zurich: Marc Steiner Dominik Zogg Olivier Kofler

Twitter: @iBRWOSWEB Web: [www.ibrows.ch](http://www.ibrows.ch)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

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

Recently: every ~76 days

Total

26

Last Release

3874d ago

Major Versions

2.2.0 → 3.0.02013-08-12

3.0.0 → 4.0.02013-09-12

4.2.10 → 5.0.02014-12-02

PHP version history (2 changes)2.2.0PHP &gt;=5.3.3

4.0.1PHP &gt;=5.3.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/31dcaa71007628affe5a759a757d17182e05ab88f2b018a46d74c62bc10d8249?d=identicon)[ibrows](/maintainers/ibrows)

---

Top Contributors

[![geecu](https://avatars.githubusercontent.com/u/318567?v=4)](https://github.com/geecu "geecu (7 commits)")[![dominikzogg](https://avatars.githubusercontent.com/u/1011217?v=4)](https://github.com/dominikzogg "dominikzogg (5 commits)")[![ibrjonas](https://avatars.githubusercontent.com/u/1107291?v=4)](https://github.com/ibrjonas "ibrjonas (4 commits)")[![mikemeier](https://avatars.githubusercontent.com/u/776406?v=4)](https://github.com/mikemeier "mikemeier (3 commits)")

---

Tags

symfonySimplecmssymfony cmssymfony simple cms

### Embed Badge

![Health badge](/badges/ibrows-simplecms-bundle/health.svg)

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

###  Alternatives

[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[orbitale/cms-bundle

A simple lightweight CMS bundle for Symfony

6343.2k](/packages/orbitale-cms-bundle)[networking/init-cms-bundle

This Bundle is a basic cms based on symfony

1006.0k2](/packages/networking-init-cms-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)[agence-adeliom/easy-page-bundle

A simple lightweight CMS bundle for Symfony

108.5k3](/packages/agence-adeliom-easy-page-bundle)

PHPackages © 2026

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