lyssal/seo-bundle

A bundle to manage SEO in your website.

Installs: 29

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

0.2 2021-06-26 12:16 UTC

This package is auto-updated.

Last update: 2024-03-26 19:39:11 UTC


README

The Lyssal SEO bundle permits you to use the Page entity for all your URLs and SEO informations (as title, description, author, etc ; see the Page and Website properties).

The slugs are automatically generated and you can use the Twig templates to autoamtically generate the meta tags.

Installation

Read the installation documentation.

How to use

Read the How to use documentation.

The sitemap.xml

Read the sitemap documentation.

About properties

Read the properties documentation.

Automatically get the Page entity

For performance reason, the Page entity property is null by default but you can change this behavior by copy this code in your services.yaml:

Lyssal\SeoBundle\EventListener\PageEntityGetter:
    tags:
        - { name: 'doctrine.event_listener', event: 'postLoad' }

EasyAdmin

If you use EasyAdmin, please read the EasyAdmin documentation.

PhpDoc

Execute :

phpdoc -c doc/phpdoc.tpl.xml