library laravel-robots-txt
Laravel 5.x helpers for a semi-automated robots.txt and meta tags
owenmelbz/laravel-robots-txt
Laravel 5.x helpers for a semi-automated robots.txt and meta tags
- Saturday, September 2, 2017
- by OwenMelbz
- Repository
- 1 Watchers
- 12 Stars
- 527 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 11 % Grown
An automatically generated robots.txt which automatically discourages indexing of folders, with additional meta tag blade directives for in page exclusions., (*1)
Usage
-
Install via composer composer require owenmelbz/laravel-robots-txt
, (*2)
-
Register the service provider - typically done inside the app.php
providers array e.g OwenMelbz\RobotsTxt\RobotsTxtServiceProvider::class
, (*3)
-
Add BLOCK_ROBOTS=true
to your application environment config e.g .env
, (*4)
-
Within your <head>
area you can include the blade directive @robotsMeta
to pull through a noindex, nofollow
meta tag., (*5)
Configuration
If you publish the package via php artisan vendor:publish --provider="OwenMelbz\RobotsTxt\RobotsTxtServiceProvider"
you can use a custom robots.txt template file to include extra rules., (*6)
dev-master
9999999-dev
Laravel 5.x helpers for a semi-automated robots.txt and meta tags
Sources
Download
MIT
The Requires
by
Owen Melbourne
laravel
robots.txt
0.0.3
0.0.3.0
Laravel 5.x helpers for a semi-automated robots.txt and meta tags
Sources
Download
MIT
The Requires
by
Owen Melbourne
laravel
robots.txt
0.0.2
0.0.2.0
Laravel 5.x helpers for a semi-automated robots.txt and meta tags
Sources
Download
MIT
The Requires
by
Owen Melbourne
laravel
robots.txt
0.0.1
0.0.1.0
Laravel 5.x helpers for a semi-automated robots.txt and meta tags
Sources
Download
MIT
The Requires
by
Owen Melbourne
laravel
robots.txt