lyssal / seo-bundle
A bundle to manage SEO in your website.
Installs: 42
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- lyssal/doctrine-orm-bundle: ~0.2
- lyssal/entity-bundle: ~0.2
- lyssal/seo: ~0.1
- symfony/form: ~5
- symfony/http-foundation: ~5
- symfony/validator: ~5
- thepixeldeveloper/sitemap: ^5.1
This package is auto-updated.
Last update: 2024-10-03 10:44:18 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