Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Robots Txt Laravel Package

spatie/robots-txt

Generate and serve a correct robots.txt in Laravel with an expressive API. Add user-agents, allow/disallow rules, sitemaps and host directives, then publish it via a route or controller—perfect for managing crawler access per environment.

View on GitHub
Deep Wiki
Context7
2.5.4

Send user agent header with file_get_contents requests to prevent Cloudflare and similar WAFs from blocking requests

2.5.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.5.2...2.5.3

2.5.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.5.1...2.5.2

2.5.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.5.0...2.5.1

2.5.0

What's Changed

Full Changelog: https://github.com/spatie/robots-txt/compare/2.4.0...2.5.0

2.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.3.1...2.4.0

2.3.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.3.0...2.3.1

2.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.3...2.3.0

2.2.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.2...2.2.3

2.2.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.1...2.2.2

2.2.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.0...2.2.1

2.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.1.0...2.2.0

2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.0.3...2.1.0

2.0.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.0.2...2.0.3

2.0.2
2.0.1
  • added x-robots-tag: none (#32)
2.0.0
  • require PHP 8+
  • drop support for PHP 7.x
  • convert syntax to PHP 8
  • remove deprecated methods
  • use php-cs-fixer & github workflow
1.0.10
  • handle multiple user-agent (#29)
1.0.9
  • add support for PHP 8.0 + move to GitHub actions (#27)
1.0.8
  • make user agent checks case-insensitive
1.0.7
  • fix find robots meta tag line if minified code (#23)
1.0.6
  • fix headers checking (nofollow, noindex) for custom userAgent (#21)
1.0.5
  • improvements around handling of wildcards, end-of-string, query string
1.0.4
  • improve readability
1.0.3
  • fix parsing robotstxt urls with keywords (#14)
1.0.2
  • make robots.txt check case insensitive
1.0.1
  • prevent exception if the domain has no robots.txt
1.0.0
  • initial release
What's
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai