PHPackages                             fourlabs/robots-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. [HTTP &amp; Networking](/categories/http)
4. /
5. fourlabs/robots-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

fourlabs/robots-bundle
======================

Symfony2 bundle to control X-Robots-Tag HTTP header via annotations

123.8kPHP

Since Sep 1Pushed 10y agoCompare

[ Source](https://github.com/fourlabsldn/RobotsBundle)[ Packagist](https://packagist.org/packages/fourlabs/robots-bundle)[ RSS](/packages/fourlabs-robots-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Robots Bundle
=============

[](#robots-bundle)

**Symfony2 bundle to control `X-Robots-Tag` HTTP header via annotations.**

[![Total Downloads](https://camo.githubusercontent.com/8055bfdd982d2e0577563f3b2819c7d32be53e63df7283d6e73c4f961608162a/68747470733a2f2f706f7365722e707567782e6f72672f666f75726c6162732f726f626f74732d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/fourlabs/robots-bundle)[![License](https://camo.githubusercontent.com/c605e14db737d5e8b2b83bf2ac52bf7d29208761df7890e0b1df0403f970ec37/68747470733a2f2f706f7365722e707567782e6f72672f666f75726c6162732f726f626f74732d62756e646c652f6c6963656e7365)](https://packagist.org/packages/fourlabs/robots-bundle)[![SensioLabsInsight](https://camo.githubusercontent.com/0e716923a53d8040c276e5cb673b291ced9a8b3467fc1a19154e0b673bb7f0ea/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32356665333638642d313361632d346531622d386465302d3832353735623262376433612f6d696e692e706e67)](https://insight.sensiolabs.com/projects/25fe368d-13ac-4e1b-8de0-82575b2b7d3a)

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

[](#installation)

### Download the Bundle

[](#download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:

```
$ composer require fourlabs/robots-bundle dev-master
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

### Enable the Bundle

[](#enable-the-bundle)

Then, enable the bundle by adding the following line in the *app/AppKernel.php* file of your project:

```
