Skip to content

Simple package for adding directives to show/hide content from crawlers

License

Notifications You must be signed in to change notification settings

vlados/laravel-blade-crawler-detect

Repository files navigation

Laravel Blade Crawler check

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Simple package to add Blade directive @user to hide some parts of the blade from crawler bot

Installation

You can install the package via composer:

composer require vlados/laravel-blade-crawler-detect

Usage

Simply wrap your html with @user ... code @enduser to hide it from crawlers

@user
<style>
    
</style>
@enduser

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.