PHPackages                             perfectneeds/content-single-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. perfectneeds/content-single-lang-bundle

ActiveSymfony-library[Utility &amp; Helpers](/categories/utility)

perfectneeds/content-single-lang-bundle
=======================================

Content Bundle

1.0.21(1y ago)053PHPPHP ^5.5.9 || ^7.0

Since Dec 3Pushed 1y ago2 watchersCompare

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

READMEChangelogDependencies (3)Versions (26)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. [PNMediaBundle](https://github.com/PerfectNeeds/media-bundle)
3. [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-single-lang-bundle "~1.0"
```

### Step 2: Enable the Bundle in AppKernel

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

Require the bundle with composer:

```
