PHPackages                             dacorp/extra-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. [Framework](/categories/framework)
4. /
5. dacorp/extra-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

dacorp/extra-bundle
===================

Dacorp Extra Bundle

1.0.x-dev(11y ago)32862GPLPHP

Since Oct 23Pushed 10y ago2 watchersCompare

[ Source](https://github.com/HouseOfAgile/dacorp-extra-bundle)[ Packagist](https://packagist.org/packages/dacorp/extra-bundle)[ Docs](https://github.com/HouseOfAgile/dacorp-extra-bundle)[ RSS](/packages/dacorp-extra-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (21)Versions (2)Used By (0)

Dacorp Extra Bundle
===================

[](#dacorp-extra-bundle)

Collection of services, helper, and standard view for standard services you want to use in any kind of website.

It's a **Work in Progress** mainly used for other project. You can browse the repository, but I would not recommend you to use it unless you know what you want ;)

This branch (master) supports PUGXMultuUserBundle master, FOSUserBundle master and Symfony master.

The branch (1.0) supports PUGXMultuUserBundle 2.0, FOSUserBundle 2.0 and Symfony &gt;=2.1, &lt;2.4.

Some of the feature included :

- Image Uploader Service : Integration of Punkave Image Uploader as a service tight to a generic Media Model (plan to update to )
- Simple README functionality included by default on demand (usually dev environment only is fine) : give you a page with a html rendered version of the README.md Markdown file located in the root of your Project
- Manage metas for twitter cards and open graph
- Provide switch lang feature (routes, knpmenu action, and Handler)

\##Using the ImageUploader Service:

include the default uploader {% include "DacorpExtraBundle:Common:file-upload-control.html.twig" %}

Twig extension to manage metas
------------------------------

[](#twig-extension-to-manage-metas)

Support Twitter Card and Facebook Open graph Meta in a simple way with Twig extension.

### Add global twig variables for specific data

[](#add-global-twig-variables-for-specific-data)

\####Define specific account data in parameters.yml.dist parameters: facebook\_app\_id: XXX twitter\_widget\_id: XXX twitter\_default\_account: XXX

\####Update globals twig: globals: facebook\_app\_id: %facebook\_app\_id% twitter\_default\_account: %twitter\_default\_account%

\####Call twig extension within twig template

partner is an entity which has all needed informations to generate basic open graph meta and basic twitter card (only restaurant.restaurant supported for now).

```
{% block head_meta %}
    {{ allMetas({'title': partner.title, 'description':partner.description,
    'url': path('get_partner', { 'alias': partner.alias }) , 'object':partner, 'images': partner.partnerMedias}) }}
{% endblock %}

```

\##Using the switch lang feature

### Add the route

[](#add-the-route)

\##Using some extended mopa forms

We extends the mopa form widget with some updated widgets. Have a look to `Resources/views/Form/fields.html.twig`

And setup mopa to use that form field definition file

```
mopa_bootstrap:
    form:
        templating:           DacorpExtraBundle:Form:fields.html.twig
```

\##Some useful services ###ymlFileManager: service for loading ymlFile as array

```
namespace YourCorp\CoreBundle\Services\Manager;

use Dacorp\ExtraBundle\Services\YmlFileManager;

class YmlRankedListManager
{
    /**
     * @var YmlFileManager
     */
    private $ymlFileManager;

    public function __construct(YmlFileManager $ymlFileManager)
    {
        $this->ymlFileManager = $ymlFileManager;
    }
    # inject the serice "dacorp.manager.yml_file" in your service and use it like this
    public function loadYmlRankedList($fileName='default_ranked_list.yml')
    {
        $dataArray = $this->ymlFileManager->loadYmlFile($fileName);
        $dataArray = $this->ymlFileManager->loadYmlFile($fileName);
        foreach ($dataArray as $key => $data) {
            // do stuff with data
        }
    }
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.7% 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

Unknown

Total

1

Last Release

4221d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bfadeefe6492d3df1da892c2f5dad1af5a92fdb808a27eb3f98c50e3e67fbce9?d=identicon)[jmeyo](/maintainers/jmeyo)

![](https://www.gravatar.com/avatar/a0451216a3489adc55fa7ee59219d8e78ec22ad0124a0753c3478fbbcbd8b415?d=identicon)[pmartelletti](/maintainers/pmartelletti)

---

Top Contributors

[![jmeyo](https://avatars.githubusercontent.com/u/1229594?v=4)](https://github.com/jmeyo "jmeyo (72 commits)")[![pmartelletti](https://avatars.githubusercontent.com/u/557390?v=4)](https://github.com/pmartelletti "pmartelletti (4 commits)")

---

Tags

symfonybundle

### Embed Badge

![Health badge](/badges/dacorp-extra-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dacorp-extra-bundle/health.svg)](https://phpackages.com/packages/dacorp-extra-bundle)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[networking/init-cms-bundle

This Bundle is a basic cms based on symfony

1006.0k2](/packages/networking-init-cms-bundle)

PHPackages © 2026

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