PHPackages                             nox-it/yii2-nox-robots - 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. [Framework](/categories/framework)
4. /
5. nox-it/yii2-nox-robots

AbandonedLibrary[Framework](/categories/framework)

nox-it/yii2-nox-robots
======================

Yii2 Robots.txt Generator Module

2.0.0(6y ago)1373BSD-3-ClausePHPPHP &gt;=7.4.0

Since May 30Pushed 3y ago2 watchersCompare

[ Source](https://github.com/nyx-solutions/yii2-nyx-robots)[ Packagist](https://packagist.org/packages/nox-it/yii2-nox-robots)[ RSS](/packages/nox-it-yii2-nox-robots/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (9)Used By (0)

Yii PHP Framework Version 2 / NYX Robots.txt Generator Module
=============================================================

[](#yii-php-framework-version-2--nyx-robotstxt-generator-module)

Yii2 Module for automatically generating the [robots.txt](http://www.robotstxt.org/) file.

[![Latest Stable Version](https://camo.githubusercontent.com/415885fde46ad524cc6d165fbf3a4726c9c7e0ffb3c19a30dc24babb8f94c068/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d726f626f74732f762f737461626c65)](https://packagist.org/packages/nyx-solutions/yii2-nyx-robots)[![Total Downloads](https://camo.githubusercontent.com/f809db28cd8147f12f4327d3a04edac6a0e7158939ed90024b91081646903f07/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d726f626f74732f646f776e6c6f616473)](https://packagist.org/packages/nyx-solutions/yii2-nyx-robots)[![Latest Unstable Version](https://camo.githubusercontent.com/6ad5da84448aa47c36733779e94f65555d4951f76253855d11d749d10feb46f3/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d726f626f74732f762f756e737461626c65)](https://packagist.org/packages/nyx-solutions/yii2-nyx-robots)[![License](https://camo.githubusercontent.com/2b92f62fbc1480df6768b80be76fa1cee900c8679fcb4f4300c266ad417a2168/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d726f626f74732f6c6963656e7365)](https://packagist.org/packages/nyx-solutions/yii2-nyx-robots)[![Monthly Downloads](https://camo.githubusercontent.com/fcb344a8bcbeb212976992ae322b3b7a0d2588489ba6d3da379393291b0ba018/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d726f626f74732f642f6d6f6e74686c79)](https://packagist.org/packages/nyx-solutions/yii2-nyx-robots)[![Daily Downloads](https://camo.githubusercontent.com/f408aeaad8ac70610f5f393ade53ace314531c8b9e61d2e858a4505ea34bc0db/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d726f626f74732f642f6461696c79)](https://packagist.org/packages/nyx-solutions/yii2-nyx-robots)[![composer.lock](https://camo.githubusercontent.com/f4a083cf193c254df7869116a4abcd701c3a9ec06044e630db28f0055f64531f/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d726f626f74732f636f6d706f7365726c6f636b)](https://packagist.org/packages/nyx-solutions/yii2-nyx-robots)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

- Either run

```
php composer.phar require --prefer-dist "nyx-solutions/yii2-nyx-robots" "*"
```

or add

```
"nyx-solutions/yii2-nyx-robots": "*"
```

to the `require` section of your application's `composer.json` file.

Usage
-----

[](#usage)

- Configure the `cache` component of your application's configuration file, for example:

```
'components' => [
    'cache' => [
        'class' => 'yii\caching\FileCache',
    ],
]
```

- Add a new module in `modules` section of your application's configuration file, for example:

```
'modules' => [
    'robots' => [
        'class' => 'nyx\modules\robots\Module',
        'settings' => [
            'disallowAllRobots' => false,
            'allowAllRobots'    => false,
            'useSitemap'        => true,
            'sitemapFile'       => '/sitemap.xml',
            'robots'            => [],
            'allowRules'        => [
                'all' => [
                    '/uploads'
                ]
            ],
            'disallowRules'     => [
                'all' => [
                    '/assets'
                ]
            ]
        ]
    ]
]
```

- Add a new rule for `urlManager` of your application's configuration file, for example:

```
'urlManager' => [
    'rules' => [
        ['pattern' => 'robots', 'route' => 'robots/default/index', 'suffix' => '.txt'],
    ]
]
```

License
-------

[](#license)

**yii2-nyx-robots** is released under the BSD 3-Clause License. See the bundled `LICENSE.md` for details.

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~287 days

Recently: every ~358 days

Total

6

Last Release

2200d ago

Major Versions

0.1.0 → 1.0.02016-05-30

1.0.3 → 2.0.02020-05-03

PHP version history (2 changes)0.1.0PHP &gt;=5.4.0

2.0.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d2a5aa9318b01f0f61f80d6ae5f443132975f280e0dffb86bcd0ff658c59a56?d=identicon)[jsas-development](/maintainers/jsas-development)

---

Top Contributors

[![jsas4coding](https://avatars.githubusercontent.com/u/4156892?v=4)](https://github.com/jsas4coding "jsas4coding (9 commits)")[![brenoherculano](https://avatars.githubusercontent.com/u/90738807?v=4)](https://github.com/brenoherculano "brenoherculano (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

phpframeworkmigrationyii2extension

### Embed Badge

![Health badge](/badges/nox-it-yii2-nox-robots/health.svg)

```
[![Health](https://phpackages.com/badges/nox-it-yii2-nox-robots/health.svg)](https://phpackages.com/packages/nox-it-yii2-nox-robots)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
