survos/seo-bundle

checks for title and description length in the debug toolbar

Fund package maintenance!
kbond

Installs: 114

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:symfony-bundle

1.5.394 2024-11-21 23:17 UTC

This package is auto-updated.

Last update: 2024-11-21 23:47:30 UTC


README

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": "/home/tac/g/sites/survos/packages/seo-bundle"}' 
composer config allow-plugins.survos/installer true
composer require survos/seo-bundle:*@dev