Skip to content

[READONLY] Utilitity to check title and description rules in the debug toolbar

Notifications You must be signed in to change notification settings

survos/SurvosSeoBundle

Repository files navigation

SeoBundle

This bundle takes the information from https://www.strangebuzz.com/en/blog/adding-a-custom-data-collector-in-the-symfony-debug-bar and wraps it in an installable bundle.

It alerts developers to pages where the length of the title or description outside a defined range.

composer config allow-plugins.survos/installer true
composer req survos/seo-bundle --dev

Customize

# config/packages/survos_seo.yaml
survos_seo:
    # branding will be added if the title is short enough.  So a title of "Welcome" becomes "MyBrand Welcome"
    branding:             '' 
    minTitleLength:       30
    maxTitleLength:       150
    minDescriptionLength: 10
    maxDescriptionLength: 255

Developers

composer config repositories.survos_seo '{"type": "path", "url": "/https/github.com/home/tac/g/sites/survos/packages/seo-bundle"}' 
composer config allow-plugins.survos/installer true
composer require survos/seo-bundle:*@dev

About

[READONLY] Utilitity to check title and description rules in the debug toolbar

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published