PHPackages                             liip/vie-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. liip/vie-bundle

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

liip/vie-bundle
===============

VIE is a way to make any site using RDFa editable.

322.1k2JavaScript

Since Aug 6Pushed 8y ago20 watchersCompare

[ Source](https://github.com/liip/LiipVieBundle)[ Packagist](https://packagist.org/packages/liip/vie-bundle)[ RSS](/packages/liip-vie-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

UNMAINTAINED
============

[](#unmaintained)

This bundle is no longer maintained. Use SymfonyCmfCreateBundle instead.

Introduction
============

[](#introduction)

VIE is a way to make any site using RDFa editable.

For more information see [http://wiki.iks-project.eu/index.php/Semantic\_Editor](http://wiki.iks-project.eu/index.php/Semantic_Editor)

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

[](#installation)

This bundle is best included using Composer.

Edit your project composer file to add a new require for liip/vie-bundle. Then create a scripts section or add to the existing one:

```
"scripts": {
    "post-install-cmd": [
        "Liip\\VieBundle\\Composer\\ScriptHandler::initSubmodules",
        ...
    ],
    "post-update-cmd": [
        "Liip\\VieBundle\\Composer\\ScriptHandler::initSubmodules",
        ...
    ]
},

```

Add this bundle to your application's kernel:

```
// application/ApplicationKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Liip\VieBundle\LiipVieBundle(),
        // ...
    );
}

```

Add a mapping to the `config.yml` and enable a controller

```
    liip_vie:
        phpcr_odm: true
        #orm: my_document_manager
        map:
            '': 'Liip\HelloBundle\Document\Article'
        base_path: /cms/routes
        cms_path: /cms/content/static

```

Finally add the relevant routing to your configuration

```

    vie:
        resource: "@LiipVieBundle/Resources/config/routing/phpcr_odm.xml"

```

Optional: Aloha Editor (this bundle comes with the hallo editor, but if you prefer you can also use aloha)

```
    To use the Aloha editor with this bundle, download the files here: https://github.com/alohaeditor/Aloha-Editor/downloads/aloha-0.9.3.zip
    Unzip the contents of the "aloha" subfolder of this zip as folder vendor/bundles/Liip/VieBundle/vendor/aloha
    Make sure you have just one aloha folder with the js, not aloha/aloha/... - you should have vendor/bundles/Liip/VieBundle/vendor/aloha/aloha.js

```

Usage
=====

[](#usage)

Adjust your template to load the editor js files if the current session is allowed to edit content.

```
{% render "liip_vie.controller.vie:includeJSFilesAction" %}

```

The other thing you have to do is adjusting your templates to include semantic RDFa annotations so VIE knows what content is editable. For an example RDFa annotation, see the cmf sandbox template:

What is this?
=============

[](#what-is-this)

**This Bundle currently is a gigantic security hole, since it doesn't attempt to check any permissions and does not cleanup or validate the content (XSS attacks, ...).**

The main goal is to eventually support tools to easily output Entity/Document instances as RDFa inside HTML, as well as map them back from JSON-LD for processing.

The bundle currently provides:

- A REST handler to save JSON-LD data into ORM/ODM Entities resp. Documents.
- The VIE library and the hallo editor, and support for integration the aloha editor
- TODO: Think if we can help with outputting Entity/Documents with RDFa somehow (annotations on Document + twig extension?)

Dependencies
============

[](#dependencies)

This bundle includes vie and the hallo editor as submodules. Your symfony must have two bundles activated:

- FOSRestBundle to handle the requests (see installation instructions above)
- AsseticBundle to be able to provide the javascript files. (part of symfony-standard, just make sure you did not disable it)

Furthermore there is an optional dependency in DMS\\Filter:

Add the following to your deps file:

```
[DMS-Filter]
   git=http://github.com/rdohms/DMS-Filter.git

```

And the following to your autoload.php

```
$loader->registerNamespaces(array(
    'DMS\Filter'       => __DIR__.'/vendor/DMS-Filter',
));

```

And finally enable the filter service:

```
liip_vie:
    filter: true

```

Developping hallo editor
========================

[](#developping-hallo-editor)

You can develop the hallo editor inside the VIE bundle. If you set the `liip_vie: use_coffee` option to true, it will include the coffee script files with assetic, rather than the precompiled javascript. This also means that if you have a mapping for coffeescript in your assetic configuration, you need to have the coffee compiler set up correctly. In the sandbox we did a little hack to not trigger coffee script compiling. In config.yml we make the coffee extension configurable:

```
assetic:
    filters:
        cssrewrite: ~
        coffee:
            bin: %coffee.bin%
            node: %coffee.node%
            apply_to: %coffee.extension%

liip_vie:
    # set this to true if you want to develop hallo and edit the coffee files
    use_coffee: true|false

```

Now if the parameters.yml sets `coffee.extension` to `\.coffee` the coffeescript is compiled and the coffee compiler needs to be installed. If you set it to anything else like `\.nocoffee` then you do not need the coffee compiler installed.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor3

3 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20873?v=4)[Luke Smith](/maintainers/lsmith)[@lsmith](https://github.com/lsmith)

---

Top Contributors

[![fabian](https://avatars.githubusercontent.com/u/13346?v=4)](https://github.com/fabian "fabian (62 commits)")[![colinfrei](https://avatars.githubusercontent.com/u/752836?v=4)](https://github.com/colinfrei "colinfrei (52 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (47 commits)")[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (32 commits)")[![podlebar](https://avatars.githubusercontent.com/u/342104?v=4)](https://github.com/podlebar "podlebar (19 commits)")[![rndstr](https://avatars.githubusercontent.com/u/32963?v=4)](https://github.com/rndstr "rndstr (10 commits)")[![kostiklv](https://avatars.githubusercontent.com/u/620982?v=4)](https://github.com/kostiklv "kostiklv (3 commits)")[![elrafman](https://avatars.githubusercontent.com/u/557282?v=4)](https://github.com/elrafman "elrafman (3 commits)")[![benoitpointet](https://avatars.githubusercontent.com/u/104787?v=4)](https://github.com/benoitpointet "benoitpointet (2 commits)")[![oker1](https://avatars.githubusercontent.com/u/431237?v=4)](https://github.com/oker1 "oker1 (1 commits)")[![richardmiller-zz](https://avatars.githubusercontent.com/u/783827?v=4)](https://github.com/richardmiller-zz "richardmiller-zz (1 commits)")

---

Tags

bundlephpsymfonysymfony-bundle

### Embed Badge

![Health badge](/badges/liip-vie-bundle/health.svg)

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

PHPackages © 2026

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