{"id":15287402,"url":"https://github.com/nucleos/nucleosseobundle","last_synced_at":"2025-04-13T05:09:41.333Z","repository":{"id":59404435,"uuid":"537117482","full_name":"nucleos/NucleosSeoBundle","owner":"nucleos","description":"🔌 Seo components.","archived":false,"fork":false,"pushed_at":"2025-02-09T17:44:24.000Z","size":333,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"1.6.x","last_synced_at":"2025-04-13T05:09:04.566Z","etag":null,"topics":["breadcrumb","bundle","hacktoberfest","php","sitemap","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"https://nucleos.rocks","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nucleos.png","metadata":{"funding":{"github":"core23","open_collective":"core23","ko_fi":"core23","custom":"https://donate.core23.de"},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-15T16:38:54.000Z","updated_at":"2025-02-09T17:44:28.000Z","dependencies_parsed_at":"2023-11-24T13:42:31.970Z","dependency_job_id":"fe6cd917-e90e-4664-b2cf-77512bb78ccd","html_url":"https://github.com/nucleos/NucleosSeoBundle","commit_stats":{"total_commits":28,"total_committers":4,"mean_commits":7.0,"dds":0.4642857142857143,"last_synced_commit":"70b25e38c6e9ba448049e1d01ad866d453bd5a2a"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosSeoBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosSeoBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosSeoBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosSeoBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nucleos","download_url":"https://codeload.github.com/nucleos/NucleosSeoBundle/tar.gz/refs/heads/1.6.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665747,"owners_count":21142123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["breadcrumb","bundle","hacktoberfest","php","sitemap","symfony","symfony-bundle"],"created_at":"2024-09-30T15:28:03.265Z","updated_at":"2025-04-13T05:09:41.307Z","avatar_url":"https://github.com/nucleos.png","language":"PHP","funding_links":["https://github.com/sponsors/core23","https://opencollective.com/core23","https://ko-fi.com/core23","https://donate.core23.de"],"categories":[],"sub_categories":[],"readme":"NucleosSeoBundle\n======================\n[![Latest Stable Version](https://poser.pugx.org/nucleos/seo-bundle/v/stable)](https://packagist.org/packages/nucleos/seo-bundle)\n[![Latest Unstable Version](https://poser.pugx.org/nucleos/seo-bundle/v/unstable)](https://packagist.org/packages/nucleos/seo-bundle)\n[![License](https://poser.pugx.org/nucleos/seo-bundle/license)](https://packagist.org/packages/nucleos/seo-bundle)\n\n[![Total Downloads](https://poser.pugx.org/nucleos/seo-bundle/downloads)](https://packagist.org/packages/nucleos/seo-bundle)\n[![Monthly Downloads](https://poser.pugx.org/nucleos/seo-bundle/d/monthly)](https://packagist.org/packages/nucleos/seo-bundle)\n[![Daily Downloads](https://poser.pugx.org/nucleos/seo-bundle/d/daily)](https://packagist.org/packages/nucleos/seo-bundle)\n\n[![Continuous Integration](https://github.com/nucleos/NucleosSeoBundle/actions/workflows/continuous-integration.yml/badge.svg?event=push)](https://github.com/nucleos/NucleosSeoBundle/actions?query=workflow%3A\"Continuous+Integration\"+event%3Apush)\n[![Code Coverage](https://codecov.io/gh/nucleos/NucleosSeoBundle/graph/badge.svg)](https://codecov.io/gh/nucleos/NucleosSeoBundle)\n\nThe NucleosSeoBundle is a fork of [SonataSeoBundle](https://github.com/sonata-project/SonataSeoBundle/) which respects BC. It also provides sitemap functionality of the deprecated [NucleosSitemapBundle](https://github.com/nucleos/NucleosSitemapBundle).\n\n## Installation\n\nOpen a command console, enter your project directory and execute the following command to download the latest stable version of this library:\n\n```\ncomposer require nucleos/seo-bundle\n```\n\n\n### Enable the Bundle\n\nThen, enable the bundle by adding it to the list of registered bundles in `config/bundles.php` file of your project:\n\n```php\n// config/bundles.php\n\nreturn [\n    // ...\n    Nucleos\\SeoBundle\\NucleosSeoBundle::class =\u003e ['all' =\u003e true],\n];\n```\n\n### Configure the Bundle\n\nCreate a configuration file called `nucleos_seo.yaml`:\n\n```yaml\n# config/routes/nucleos_seo.yaml\n\nnucleos_seo:\n    resource: '@NucleosSeoBundle/Resources/config/routing/sitemap.yml'\n    prefix: /\n```\n\nIf you want to use symfony cache, you should define a new cache pool (PSR 6) and create an adapter to map it to a simple cache (PSR 16):\n\n```yaml\nnucleos_seo:\n    cache:\n        service: 'sitemap.cache.simple'\n\nframework:\n    cache:\n        pools:\n            sitemap.cache:\n                adapter: cache.app\n                default_lifetime: 60\n\nservices:\n    sitemap.cache.simple:\n        class: 'Symfony\\Component\\Cache\\Psr16Cache'\n        arguments:\n            - '@sitemap.cache'\n```\n\n\n### Add static entries\n\nYou can add static entries in your yaml config:\n\n```yaml\n# config/packages/nucleos_seo.yaml\n\nnucleos_seo:\n    static:\n        - { url: 'http://example.com', priority: 75, changefreq: 'weekly' }\n```\n\n### Add a custom sitemap\n\nIf you want to create a custom sitemap, the only thing you have to do is to create a service that uses\n`Nucleos\\SeoBundle\\Sitemap\\SitemapServiceInterface` and tag the service with `nucleos_seo.sitemap`.\n\n```xml\n    \u003cservice id=\"App\\Sitemap\\CustomSitemap\"\u003e\n      \u003ctag name=\"nucleos_seo.sitemap\"/\u003e\n    \u003c/service\u003e\n```\n\n## License\n\nThis bundle is under the [MIT license](LICENSE.md).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleos%2Fnucleosseobundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnucleos%2Fnucleosseobundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleos%2Fnucleosseobundle/lists"}