vlados/laravel-blade-crawler-detect

This is my package laravel-blade-crawler-detect

v0.3.0 2023-04-19 19:10 UTC

README

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.