PHPackages                             longitude-one/meta-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. longitude-one/meta-bundle

ActiveBundle[Templating &amp; Views](/categories/templating)

longitude-one/meta-bundle
=========================

A Symfony bundle to manage meta tags

1.0.2(4y ago)122MITPHPPHP ^7.4|^8.0

Since Apr 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/longitude-one/meta-bundle)[ Packagist](https://packagist.org/packages/longitude-one/meta-bundle)[ RSS](/packages/longitude-one-meta-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (9)Versions (8)Used By (0)

MetaBundle : longitude-one/meta-bundle
======================================

[](#metabundle--longitude-onemeta-bundle)

This bundle provides a Twig extension and an easy configurable file to customize contents of all your meta tags.

Installation
------------

[](#installation)

```
composer require longitude-one/meta-bundle
```

Configuration
-------------

[](#configuration)

Edit your twig base view to call functions `meta_description()`, `meta_title()`, `meta('foo:bar')` implemented by our twig extension.

Example:

```

>

    {{ meta_title() }}

```

Create or edit the bundle configuration file and

```
# config/packages/meta.yaml
meta:
  defaults:
    description: 'My default description' # the default description
    'og-image': 'My default image' # the default image
    title: 'My default title' # the default title
  paths:
    '/foo/bar/': # For this url, our extension will return customs
      description: 'My custom description for /foo/bar url'
      'og-image': 'My custom image for /foo/bar url'
      title: 'My custom title for /foo/bar url'
    '/bar': #For this url, our extension will return a custom title and the default image and title.
      title: 'My custom description for /bar url'
```

Contributing
============

[](#contributing)

- Fork the github project.
- Clone it

A very simple docker is embedded to:

- provide you a PHP8.1 environment
- provide you composer, symfony and phpcsfixer as external tools
- launch local symfony server to help you to dev

Then simply build your container:

```
docker-compose up --build
```

With your browser, you can access the embedded application by accessing the symfony local server

Update the code, fix bugs or implement new feature, then check the test.

```
docker exec bundle-php ./vendor/bin/phpunit
```

Check quality code with PHP-CS-FIXER:

```
docker exec bundle-php tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=tools/php-cs-fixer/.php-cs-fixer.php
```

All is OK ? commit your code, push it and pull request it ;)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

1499d ago

PHP version history (2 changes)1.0.0-RCPHP ^8.0

1.0.2PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5101481?v=4)[Alexandre Tranchant](/maintainers/Alexandre-T)[@Alexandre-T](https://github.com/Alexandre-T)

---

Top Contributors

[![Alexandre-T](https://avatars.githubusercontent.com/u/5101481?v=4)](https://github.com/Alexandre-T "Alexandre-T (16 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/longitude-one-meta-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/longitude-one-meta-bundle/health.svg)](https://phpackages.com/packages/longitude-one-meta-bundle)
```

###  Alternatives

[friendsofsymfony/ckeditor-bundle

Provides a CKEditor integration for your Symfony project.

53014.3M49](/packages/friendsofsymfony-ckeditor-bundle)[symfony/ux-twig-component

Twig components for Symfony

21814.8M162](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1635.6M72](/packages/symfony-ux-live-component)[twig/html-extra

A Twig extension for HTML

777.6M41](/packages/twig-html-extra)[iq2i/storia-bundle

UI Storia bundle

144.6k](/packages/iq2i-storia-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
