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.
Send user agent header with file_get_contents requests to prevent Cloudflare and similar WAFs from blocking requests
Full Changelog: https://github.com/spatie/robots-txt/compare/2.5.2...2.5.3
Full Changelog: https://github.com/spatie/robots-txt/compare/2.5.1...2.5.2
Full Changelog: https://github.com/spatie/robots-txt/compare/2.5.0...2.5.1
Full Changelog: https://github.com/spatie/robots-txt/compare/2.4.0...2.5.0
Full Changelog: https://github.com/spatie/robots-txt/compare/2.3.1...2.4.0
Full Changelog: https://github.com/spatie/robots-txt/compare/2.3.0...2.3.1
Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.3...2.3.0
Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.2...2.2.3
Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.1...2.2.2
Full Changelog: https://github.com/spatie/robots-txt/compare/2.2.0...2.2.1
Full Changelog: https://github.com/spatie/robots-txt/compare/2.1.0...2.2.0
Full Changelog: https://github.com/spatie/robots-txt/compare/2.0.3...2.1.0
Full Changelog: https://github.com/spatie/robots-txt/compare/2.0.2...2.0.3
Full Changelog: https://github.com/spatie/robots-txt/compare/2.0.1...2.0.2
Even more header parsing improvements.
Better header parsing
How can I help you explore Laravel packages today?