PHPackages                             tamago/tips-manager-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tamago/tips-manager-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

tamago/tips-manager-bundle
==========================

Simple bundle to show tips

05.0k1[5 issues](https://github.com/tamago-db/TamagoTipsManagerBundle/issues)PHP

Since May 3Pushed 10y ago3 watchersCompare

[ Source](https://github.com/tamago-db/TamagoTipsManagerBundle)[ Packagist](https://packagist.org/packages/tamago/tips-manager-bundle)[ RSS](/packages/tamago-tips-manager-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Overview
========

[](#overview)

[![Build Status](https://camo.githubusercontent.com/a5872769aea96f6bcf32b955087f5b8fbf7224bcede5608db9ecb0d95a61ce97/68747470733a2f2f7472617669732d63692e6f72672f74616d61676f2d64622f54616d61676f546970734d616e6167657242756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tamago-db/TamagoTipsManagerBundle)[![SensioLabsInsight](https://camo.githubusercontent.com/4b0f92c5e0fdb9a73406d23f43fdf5eb4371b2d7c8648b59dd28f4647758d5fc/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61343436376563642d343436372d343535312d626235382d3734383664323938643331362f6d696e692e706e67)](https://insight.sensiolabs.com/projects/a4467ecd-4467-4551-bb58-7486d298d316)

This Symfony bundle allows to integrate a Tip Manager in your Symfony application. The Tip Manager shows you tips relevant to your application. The tips can be seen in different languages.

The idea is to:

- write tips and their translations in files (yml) for at least one language (the default language of your website for example).
- load tips and their translations into the database by using command line.
- freely edit/add translation through an edition page.

You can also provide feedback for a tip through like/dislike buttons. The feedback and other details related to the tips can be viewed on a stats page.

Here is a screenshot of what an example tip looks like:

[![tip screenshot](https://raw.githubusercontent.com/tamago-db/TamagoTipsManagerBundle/master/Resources/doc/TipScreenshot.png)](https://raw.githubusercontent.com/tamago-db/TamagoTipsManagerBundle/master/Resources/doc/TipScreenshot.png)

**Installation**
----------------

[](#installation)

Add the bundle to your `composer.json` file:

```
require: {
    // ...
    "tamago/tips-manager-bundle": "dev-master"
}
```

Or install directly through composer with:

```
# Latest stable
composer require tamago/tips-manager-bundle dev-master

```

Then run a composer update:

```
composer update
# OR
composer update tamago/tips-manager-bundle # to only update the bundle

```

TamagoTipManagerBundle also installs LexikTranslationManagerBundle which it uses as the mechanism for storing and editing translated tips. Make sure both bundles are registered with your kernel:

```
// in AppKernel::registerBundles()

$bundles = array(
    // ...
    new Tamago\TipsManagerBundle\TamagoTipsManagerBundle(),
    new Lexik\Bundle\TranslationBundle\LexikTranslationBundle(), //if you don't have this installed already
    // ...
);
```

**Integration**
---------------

[](#integration)

⚠️ Although LexikTranslationManagerBundle supports Doctrine storage types, TamagoTipManagerBundle currently only formally supports Doctrine ORM.

#### Creating the database schema

[](#creating-the-database-schema)

```
php app/console doctrine:database:create
php app/console doctrine:schema:update
```

#### Render in the pages where you want the tips to show up

[](#render-in-the-pages-where-you-want-the-tips-to-show-up)

```
{{ render(controller('TamagoTipsManagerBundle:TipsManager:index', {'domain': 'some-domain-name', 'identifier': 'my-identifier'})) }}
```

The values of 'domain' and 'identifier' attributes in above should respectively be the custom names of the domain and identifier which the tips belong to. You can split tips into multiple categories/domains.

**Configuration**
-----------------

[](#configuration)

#### Minimum Configuration

[](#minimum-configuration)

You can skip this step if you are already using LexikTranslationBundle.

You must at least define a fallback locale(s).

```
lexik_translation:
    fallback_locale: []
    managed_locales: [ , , ... ]
    storage:
        type: orm
        object_manager:
```

**Import translations**
-----------------------

[](#import-translations)

To import translations files content into your database, place tip translation YAML files somewhere in your project and import from the directory. For example:

```
php app/console lexik:translations:import -p app/Resources/translations/tips/
```

See [tips-example.en.yml](Resources/translations/tips/tips-example.en.yml) for an example of a simple translation file.

#### Routing

[](#routing)

To use the tamago based admin pages, add this to routing file of your application:

```
# app/config/routing.yml
tip_bundle_homepage:
    resource: "@TamagoTipsManagerBundle/Resources/config/routing.yml"
    prefix:   /_tips
```

The stats page will be available here:

- `/_tips/stats`

A screenshot of the stats page: [![stats page screen](https://raw.githubusercontent.com/tamago-db/TamagoTipsManagerBundle/master/Resources/doc/StatsScreen.JPG)](https://raw.githubusercontent.com/tamago-db/TamagoTipsManagerBundle/master/Resources/doc/StatsScreen.JPG)

---

The page to edit/add tips will be available here:

- `/_tips/editor`

A screenshot of the edition page: [![edition page screen](https://raw.githubusercontent.com/tamago-db/TamagoTipsManagerBundle/master/Resources/doc/TranslationsScreen.JPG)](https://raw.githubusercontent.com/tamago-db/TamagoTipsManagerBundle/master/Resources/doc/TranslationsScreen.JPG)

---

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d6ef04132ded978641abea255e050d1fc5f640de4df6dd8ec0acb7514ea7b03?d=identicon)[nurikabe](/maintainers/nurikabe)

---

Top Contributors

[![sanskritijain29](https://avatars.githubusercontent.com/u/15094839?v=4)](https://github.com/sanskritijain29 "sanskritijain29 (54 commits)")[![nurikabe](https://avatars.githubusercontent.com/u/83678?v=4)](https://github.com/nurikabe "nurikabe (23 commits)")[![ajaybhandari345](https://avatars.githubusercontent.com/u/15127276?v=4)](https://github.com/ajaybhandari345 "ajaybhandari345 (4 commits)")

### Embed Badge

![Health badge](/badges/tamago-tips-manager-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/tamago-tips-manager-bundle/health.svg)](https://phpackages.com/packages/tamago-tips-manager-bundle)
```

###  Alternatives

[felixnagel/t3extblog

A record based blog extension for TYPO3 CMS. Easy to use and packed with features (incl. comments, subscriptions for comments and posts, Wordpress like subscription manager, reasonable email sending in FE and BE, GDPR ready, BE modules, Dashboard widgets, RSS, Sitemap, ...). Flexible and powerful!

3522.5k](/packages/felixnagel-t3extblog)[amin3520/anar

:description

272.3k](/packages/amin3520-anar)

PHPackages © 2026

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