PHPackages                             perfectneeds/content-multi-lang-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. [Localization &amp; i18n](/categories/localization)
4. /
5. perfectneeds/content-multi-lang-bundle

ActiveSymfony-library[Localization &amp; i18n](/categories/localization)

perfectneeds/content-multi-lang-bundle
======================================

Content Bundle

2.0.24(2w ago)04.9kPHPPHP ^7.3 || ^8.0

Since May 27Pushed 2w ago1 watchersCompare

[ Source](https://github.com/PerfectNeeds/content-multi-lang-bundle)[ Packagist](https://packagist.org/packages/perfectneeds/content-multi-lang-bundle)[ Docs](https://perfectneeds.github.com)[ RSS](/packages/perfectneeds-content-multi-lang-bundle/feed)WikiDiscussions 1.0 Synced 1w ago

READMEChangelogDependencies (8)Versions (63)Used By (0)

Getting Started With PNContentBundle for multi languages web apps
=================================================================

[](#getting-started-with-pncontentbundle-for-multi-languages-web-apps)

### Prerequisites

[](#prerequisites)

1. Symfony 3.4
2. [PNLocaleBundle](https://github.com/PerfectNeeds/locale-bundle)
3. [PNMediaBundle](https://github.com/PerfectNeeds/media-bundle)
4. [PNServiceBundle](https://github.com/PerfectNeeds/service-bundle)

Installation
------------

[](#installation)

Installation is a quick (I promise!) 7 step process:

1. Download PNContentBundle using composer
2. Enable the Bundle in AppKernel
3. Create your Post class
4. Create your PostRepository class
5. Configure the PNContentBundle
6. Import PNContentBundle routing
7. Update your database schema

---

### Step 1: Download PNContentBundle using composer

[](#step-1-download-pncontentbundle-using-composer)

Require the bundle with composer:

```
$ composer require perfectneeds/content-multi-lang-bundle "~1.0"
```

### Step 2: Enable the Bundle in AppKernel

[](#step-2-enable-the-bundle-in-appkernel)

Require the bundle with composer:

```
