PHPackages                             iteracode/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. iteracode/robots

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

iteracode/robots
================

Robots.txt Shell Generator

1.0.1(6y ago)09[1 PRs](https://github.com/Iteracode/robots/pulls)MITPHPCI failing

Since Dec 18Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Iteracode/robots)[ Packagist](https://packagist.org/packages/iteracode/robots)[ RSS](/packages/iteracode-robots/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (4)Used By (0)

Iteracode/Robots
================

[](#iteracoderobots)

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

[](#installation)

```
composer require iteracode/robots

```

Configuration
-------------

[](#configuration)

### `bootstrap.php`

[](#bootstrapphp)

```
Plugin::load('Iteracode/Robots', ['bootstrap' => true]);

```

### `.gitignore`

[](#gitignore)

```
webroot/robots.txt

```

Si vous possédiez un fichier robots.txt avant, pensez à le supprimer.

### Fichiers "templates"

[](#fichiers-templates)

Vous pouvez définir plusieurs fichiers selon vos environnements. Et les ajouter dans le dossier `config/`.

Par défaut, le plugin cherche le fichier `config/robots.prod.txt`.

Vous pouvez configurer le fichier souhaité dans la variable d'environnement `ROBOTSFILE`.

Utilisation
-----------

[](#utilisation)

Dans votre `composer.json`, lancez cette commande en `post-install-cmd`.

```
"post-install-cmd": [
    ...
    "bin/cake robots"
],

```

Exemple
-------

[](#exemple)

Dans l'environnement de staging, nous ne souhaitons pas que le contenu soit indexé.

`config/robots.staging.txt`

```
User-agent: *
Disallow: /

```

Sur le serveur

```
ROBOTSFILE=config/robots.staging.txt

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

2390d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17047944?v=4)[Bonjour Iteracode](/maintainers/Iteracode)[@Iteracode](https://github.com/Iteracode)

---

Top Contributors

[![Charlynux](https://avatars.githubusercontent.com/u/6061550?v=4)](https://github.com/Charlynux "Charlynux (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/iteracode-robots/health.svg)

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

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M51](/packages/dereuromark-cakephp-tools)[cakephp/bake

Bake plugin for CakePHP

11212.0M202](/packages/cakephp-bake)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308954.9k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M44](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

3099.1k6](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131240.2k13](/packages/dereuromark-cakephp-tinyauth)

PHPackages © 2026

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