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

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

perfectneeds/seo-multi-lang-bundle
==================================

Seo Bundle for Multi languages websites

2.0.20(2y ago)04.9kMITPHPPHP ^7.3 || ^8.0

Since May 14Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (79)Used By (0)

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

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

### Prerequisites

[](#prerequisites)

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

Translations
============

[](#translations)

If you wish to use default texts provided in this bundle, you have to make sure you have translator enabled in your config.

```
    # app/config/config.yml

parameters:
    # default locale
    locale: en
    # all locales separated by |
    app.locales: en|ar|

framework:
    translator: ~
    default_locale: '%locale%'
```

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

[](#installation)

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

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

---

### Step 1: Download PNSeoBundle using composer

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

Require the bundle with composer:

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

### Step 2: Enable the Bundle in AppKernel

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

Require the bundle with composer:

```
