Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexander-schranz/seobundle
Symfony based seo bundle to crawl websites
https://github.com/alexander-schranz/seobundle
Last synced: 7 days ago
JSON representation
Symfony based seo bundle to crawl websites
- Host: GitHub
- URL: https://github.com/alexander-schranz/seobundle
- Owner: alexander-schranz
- Created: 2017-07-27T22:19:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-31T22:08:20.000Z (over 7 years ago)
- Last Synced: 2024-10-27T05:02:16.440Z (about 2 months ago)
- Language: PHP
- Size: 42 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SeoBundle
Symfony based seo bundle to crawl websites.
## Installation
**Install dependency with composer**
```bash
composer require l91/seo-bundle:dev-master
```**Add it to your Kernel**
```php
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
new L91\Bundle\SeoBundle\L91SeoBundle(),
```**Add new routes**
```yml
l91_seo:
resource: '@L91SeoBundle/Resources/config/routing.xml'
prefix: /crawler
```**Gedmo Tree Extension Configuration**
```yml
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: falsestof_doctrine_extensions:
orm:
default:
tree: true
```**Create database schema**
```bash
bin/console doctrine:schema:update
```## Usage
```
bin/console l91:seo:crawl http://www.example.org
```