PHPackages                             owenmelbz/laravel-robots-txt - 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. owenmelbz/laravel-robots-txt

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

owenmelbz/laravel-robots-txt
============================

Laravel 5.x helpers for a semi-automated robots.txt and meta tags

0.0.4(6y ago)151.1kMITPHP

Since May 27Pushed 6y agoCompare

[ Source](https://github.com/OwenMelbz/laravel-robots-txt)[ Packagist](https://packagist.org/packages/owenmelbz/laravel-robots-txt)[ RSS](/packages/owenmelbz-laravel-robots-txt/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

Laravel 5 &amp; 6 robots.txt helper with meta blade directive
=============================================================

[](#laravel-5--6-robotstxt-helper-with-meta-blade-directive)

An automatically generated robots.txt which automatically discourages indexing of folders, with additional meta tag blade directives for in page exclusions.

Usage
-----

[](#usage)

1. Install via composer `composer require owenmelbz/laravel-robots-txt`
2. Register the service provider - typically done inside the `app.php` providers array e.g `OwenMelbz\RobotsTxt\RobotsTxtServiceProvider::class`
3. Add `BLOCK_ROBOTS=true` to your application environment config e.g `.env`
4. Within your `` area you can include the blade directive `@robotsMeta` to pull through a `noindex, nofollow` meta tag.

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

[](#configuration)

If you publish the package via `php artisan vendor:publish --provider="OwenMelbz\RobotsTxt\RobotsTxtServiceProvider"` you can use a custom robots.txt template file to include extra rules.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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 ~286 days

Total

4

Last Release

2459d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1094740?v=4)[Owen Melbourne](/maintainers/OwenMelbz)[@OwenMelbz](https://github.com/OwenMelbz)

---

Top Contributors

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

---

Tags

laravelrobots.txt

### Embed Badge

![Health badge](/badges/owenmelbz-laravel-robots-txt/health.svg)

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

###  Alternatives

[verschuur/laravel-robotstxt

Set the robots.txt content dynamically based on the Laravel app environment.

39421.7k1](/packages/verschuur-laravel-robotstxt)[stephenjude/filament-blog

Filament Blog Builder

20518.8k](/packages/stephenjude-filament-blog)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11258.1k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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