PHPackages                             tgc/edit-content - 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. tgc/edit-content

ActiveLibrary

tgc/edit-content
================

...

0181PHP

Since Sep 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gandariel/EditContentBundle)[ Packagist](https://packagist.org/packages/tgc/edit-content)[ RSS](/packages/tgc-edit-content/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Bundle Install
==============

[](#bundle-install)

Bundle import
-------------

[](#bundle-import)

```
//composer.json du nouveau Projet
"require": {
  "...,"
  "tgc/edit-content": "dev-master",
  "..."
},

"repositories": [
  "...",
	{
		"type": "vcs",
		"url": "git@os1119.octey.me:Alexis/EditBundle.git"
	},
  "..."
],

"config": {
  "...",
	"secure-http": false,
  "..."
},
```

```
composer update

```

Add route of the bundle
-----------------------

[](#add-route-of-the-bundle)

```
//app/config/routing.yml
edit-content:
    resource: '@TgcEditContentBundle/Controller'
    type: annotation
```

Manage local langage
--------------------

[](#manage-local-langage)

```
//app/config/services.yml
services:
  Tgc\EditContentBundle\EventSubscriber\LocaleSubscriber:
      arguments: ['%kernel.default_locale%']
```

Activate the bundle:
--------------------

[](#activate-the-bundle)

```
