PHPackages                             setono/sylius-geo-plugin - 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. setono/sylius-geo-plugin

ActiveSylius-plugin[Utility &amp; Helpers](/categories/utility)

setono/sylius-geo-plugin
========================

Setono example plugin for Sylius.

v1.0.0-alpha.7(2y ago)02.8k[2 issues](https://github.com/Setono/SyliusGeoPlugin/issues)[1 PRs](https://github.com/Setono/SyliusGeoPlugin/pulls)MITPHPPHP &gt;=7.4

Since Aug 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Setono/SyliusGeoPlugin)[ Packagist](https://packagist.org/packages/setono/sylius-geo-plugin)[ RSS](/packages/setono-sylius-geo-plugin/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (41)Versions (9)Used By (0)

Sylius Geo Plugin
=================

[](#sylius-geo-plugin)

[![Latest Version](https://camo.githubusercontent.com/fc31b1d5583a94bb73f36eb6f7d4397745225eba876278bc0e6396f14a06c686/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d67656f2d706c7567696e2f762f737461626c65)](https://packagist.org/packages/setono/sylius-geo-plugin)[![Software License](https://camo.githubusercontent.com/090a24d86f91f8db56facaa2bb25ae56a047b0076072dfc73aadb3c41849f71a/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d67656f2d706c7567696e2f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/SyliusGeoPlugin/workflows/build/badge.svg)](https://github.com/Setono/SyliusGeoPlugin/actions)[![Code Coverage](https://camo.githubusercontent.com/684c65334ab908647e706ac206354917d04c71c34dd13ee638adb722f0c26efe/68747470733a2f2f636f6465636f762e696f2f67682f5365746f6e6f2f53796c69757347656f506c7567696e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Setono/SyliusGeoPlugin)

This plugin adds geo related functionality to your store. Right now it comes with these two features:

- Redirect visitors based on their country
- Output `hreflang` link tags with a Twig function to help search engines discover regional versions of your store

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

[](#installation)

### Step 1: Download the plugin

[](#step-1-download-the-plugin)

```
composer require setono/sylius-geo-plugin
```

### Step 2: Enable the plugin

[](#step-2-enable-the-plugin)

Then, enable the plugin by adding it to the list of registered plugins/bundles in `config/bundles.php` file of your project before (!) `SyliusGridBundle`:

```
