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

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/robots-txt/compare/2.0.1...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.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
0.1.3

Even more header parsing improvements.

0.1.2

Better header parsing

0.1.1
  • Add extra null check.
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.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony