l91/seo-bundle

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Symfony based seo bundle to crawl websites

dev-master 2017-07-31 22:08 UTC

This package is auto-updated.

Last update: 2021-08-21 13:46:38 UTC


README

Symfony based seo bundle to crawl websites.

Installation

Install dependency with composer

composer require l91/seo-bundle:dev-master

Add it to your Kernel

new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
new L91\Bundle\SeoBundle\L91SeoBundle(),

Add new routes

l91_seo:
    resource: '@L91SeoBundle/Resources/config/routing.xml'
    prefix: /crawler

Gedmo Tree Extension Configuration

doctrine:
    orm:
        mappings:
            gedmo_tree:
                type: xml
                prefix: Gedmo\Tree\Entity
                dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Tree/Entity"
                alias: GedmoTree
                is_bundle: false

stof_doctrine_extensions:
    orm:
        default:
          tree: true

Create database schema

bin/console doctrine:schema:update

Usage

bin/console l91:seo:crawl http://www.example.org