Download the PHP package abdellahramadan/seo-bundle without Composer
On this page you can find all versions of the php package abdellahramadan/seo-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download abdellahramadan/seo-bundle
More information about abdellahramadan/seo-bundle
Files in abdellahramadan/seo-bundle
Package seo-bundle
Short Description All in One Symfony Seo Bundle
License MIT
Informations about the package seo-bundle
This Bundle supports
- [x] Meta Tags
- [x] OpenGraph (Twitter Cards, Facebook, LinkedIn, Instagram, Discord and more)
- [x] Structured Data (Schema)
- [x] Sitemap Generation
- [x] Google Tag
- [ ] Facebook Pixel
- [ ] SEO Profiling [Dev mode]
- [ ] Breadcrum Generation
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
This will enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Meta Tags
Example
Define Meta Tags in Two ways:
-
Type hint the
MetaTagsInterface
into a controller - Directly in twig
Make sure you add this {{ meta_tags }}
to the head your Twig file (preferably the base template)
This will render in the head the following
Open Graph
Example
Add to template file
Add to the base template or any page where the meta information will be injected
Add meta inforation
In your controller, type-hint OpenGraphInterface
Example
This will render
You can also leave out setting the properties in the controller and set directly in Twi
full document at Open Graph Docs
Schema Org [Rich Result]
Usage
This is an example using the Person
object which will render
Full Schema docs at Schema Org Docs
Sitemap Generation
This package automates the generation of sitemaps.
Usage
This will add the the url entries into sitemaps/default.xml
Full Sitemap docs Sitemap Docs
Full documentation at Documentation
All versions of seo-bundle with dependencies
symfony/dependency-injection Version ^5.4 || ^6.0 || ^7.0
symfony/config Version ^5.4 || ^6.0 || ^7.0
twig/twig Version ^2.0 || ^3.0
symfony/cache Version ^5.4 || ^6.0 || ^7.0
symfony/http-kernel Version ^5.4 || ^6.0 | ^7.0
symfony/routing Version ^5.4 || ^6.0 || ^7.0
doctrine/persistence Version ^3.4 || ^4.0
symfony/messenger Version ^5.4 || ^6.0 || ^7.0
ext-dom Version *
symfony/console Version ^5.4 || ^6.0 || ^7.0
symfony/event-dispatcher Version ^5.4 || ^6.0 || ^7.0