Download the PHP package sergeybruhin/dynamic-robots without Composer
On this page you can find all versions of the php package sergeybruhin/dynamic-robots. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sergeybruhin/dynamic-robots
More information about sergeybruhin/dynamic-robots
Files in sergeybruhin/dynamic-robots
Package dynamic-robots
Short Description Laravel Dynamic Robots Package
License MIT
Homepage https://github.com/sergeybruhin/dynamic-robots
Informations about the package dynamic-robots
Laravel Dynamic Robots.txt Package
Very basic and simple package to show different robots.txt files for different environments. Just create new directory and create there blade files with environment names. That's it!
Installation
You can install the package via composer:
Publish Config
Set robots blade files directory
If you want to change robots.txt for production environment just add production.blade.php with robots.txt content to resources/views/robots.
Create Default robots.txt
If there are no blade file for current environment, default.blade.php will be used. So don't forget to create it in /resources/views/{your-directory}!
Default robots.txt from package if user robots.txt not exists
⚠️ If you have robots.txt in public folder don't forget to delete it!
Testing (Not yet 💁♂️)
Changelog
Please see CHANGELOG for more information what has changed recently.
ToDo
- [ ] Add ability to programmatically change robots files
- [ ] Add ability to set default rule set via config
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Sergey Bruhin
- All Contributors
License
The MIT License (MIT). Please see License File for more information.