PHPackages                             techad/edc-popover-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. techad/edc-popover-bundle

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

techad/edc-popover-bundle
=========================

edc Popover for Symfony

v1.0.0(6y ago)041[1 PRs](https://github.com/tech-advantage/edc-popover-symfony/pulls)MITPHPPHP ^7.1.3CI failing

Since Jan 16Pushed 6y ago2 watchersCompare

[ Source](https://github.com/tech-advantage/edc-popover-symfony)[ Packagist](https://packagist.org/packages/techad/edc-popover-bundle)[ Docs](https://github.com/tech-advantage/edc-popover-symfony)[ RSS](/packages/techad-edc-popover-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

edc-popover-symfony
===================

[](#edc-popover-symfony)

The popover for Symfony shows the published documentation from [edc](https://www.easydoccontents.com "Easy Doc Contents") developed by TECH advantage.

This project is based on Bootstrap Popover 4 and JQuery 3+.

edc Version
-----------

[](#edc-version)

Current release is compatible with edc v3.0+

Prequisite
----------

[](#prequisite)

Install [composer](https://getcomposer.org/) and set it in your system path.

How to use it?
--------------

[](#how-to-use-it)

### Add the bundle in your application

[](#add-the-bundle-in-your-application)

To add the plugin in your application, type:

```
composer require techad/edc-popover-bundle
```

### Define the configuration

[](#define-the-configuration)

To configure, you have to add a file in your packages folder (config/packages) named edc.yaml

```
techad_edc_popover:
  server:
    url: 'http://my-app'
    help_context: "help"
```

You can generate it with `symfony console config:dump techad_edc_popover` or `php bin/console config:dump techad_edc_popover`

Override only the value you want to modify.

NodePropertiesDefaultDescriptionserverurlthe edc web help urlserverhelp\_contexthelpthe url context### Get the contextual documentation in the Controller

[](#get-the-contextual-documentation-in-the-controller)

To get the contextual documentation (brick help), you have to call the method:

```
$contextHelp = $this->edcHelp->getContextHelp('MainKey', 'SubKey', 'OptionalLanguageCode');
```

Then add the context help in the parameter to render it.

**Example**

```
