PHPackages                             maillotf/pcvue-bridge-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. maillotf/pcvue-bridge-bundle

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

maillotf/pcvue-bridge-bundle
============================

A PcVue bundle for Symfony

1.0(5y ago)061PHPPHP ^7.1

Since Oct 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/maillotf/pcvue-bridge-bundle)[ Packagist](https://packagist.org/packages/maillotf/pcvue-bridge-bundle)[ Docs](https://github.com/maillotf/papercut-bridge-bundle)[ RSS](/packages/maillotf-pcvue-bridge-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Pcvue-bridge-bundle
===================

[](#pcvue-bridge-bundle)

[![Software license](https://camo.githubusercontent.com/2beb29011cee94c91e5ee472ef35fec57f4b744cc7cd03eb3ed11aea08d3645a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d61696c6c6f74662f70637675652d6272696467652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Latest stable](https://camo.githubusercontent.com/e6dd6c4c6e84a71818874f18f525a3dda2f07bc8e95244028b89d3c3d4c96bb1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61696c6c6f74662f70637675652d6272696467652d62756e646c65)](https://packagist.org/packages/maillotf/pcvue-bridge-bundle)[![Packagist PHP Version Support](https://camo.githubusercontent.com/0c8c639b35cb9e03fb7f58d122735c8aa661d92402976f95c349ebbab55befa6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d61696c6c6f74662f70637675652d6272696467652d62756e646c65)](https://camo.githubusercontent.com/0c8c639b35cb9e03fb7f58d122735c8aa661d92402976f95c349ebbab55befa6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d61696c6c6f74662f70637675652d6272696467652d62756e646c65)

Symfony bundle for PcVue client which is base on OAuth2 authentication

Required configuration
----------------------

[](#required-configuration)

### Modify framework.yaml

[](#modify-frameworkyaml)

```
pcvue:
    authentication:
        protocol: "http"
        host: "127.0.0.1"
        port: "80"
        client_id: "CLIENT_ID"
        client_secret: "CLIENT_SECRET"
        username: "USERNAME"
        password: "PASSWORD"
#        root_dir: "ROOT_DIR"
```

root\_dir is optional

### Modify services.yaml

[](#modify-servicesyaml)

```
services:
    MaillotF\Pcvue\PcvueBridgeBundle\Service\PcvueService: '@pcvue.service.main'
```

Package instalation with composer
---------------------------------

[](#package-instalation-with-composer)

```
$ composer require maillotf/pcvue-bridge-bundle
```

Use in controller:
------------------

[](#use-in-controller)

```
