Download the PHP package arcanedev/robots without Composer
On this page you can find all versions of the php package arcanedev/robots. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arcanedev/robots
More information about arcanedev/robots
Files in arcanedev/robots
Package robots
Short Description Robots.txt generator
License MIT
Homepage https://github.com/ARCANEDEV/Robots
Informations about the package robots
Robots.txt Generator
By ARCANEDEV©
Features
- Framework agnostic package.
- Well documented & IDE Friendly.
- Well tested with maximum code quality.
- Laravel 4.2 supported.
- Laravel 5 supported.
- Made with :heart: & :coffee:.
Requirements
- PHP >= 5.5.9
INSTALLATION
Composer
You can install this package via Composer. Add this to your composer.json
:
Then install it via composer install
or composer update
.
Laravel
Setup
Once the package is installed, you can register the service provider in config/app.php
in the providers
array:
And the facade in the aliases
array:
USAGE
Laravel
The quickest way to use Robots is to just setup a callback-style route for robots.txt in your app/routes.php
file.
Hard Coded
Add a rule in your .htaccess
for robots.txt
that points to a new script (or something else) that generate the robots file.
The code would look something like:
TODOS
- [ ] Documentation
DONE
- [x] Framework agnostic package.
- [x] Examples
- [x] Laravel v4.2 Support.
- [x] Laravel v5.0 Support.
- [x] Laravel v5.1 Support.
Contribution
Any ideas are welcome. Feel free to submit any issues or pull requests, please check the contribution guidelines.