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

ActiveSymfony-bundle

maillotf/papercut-bridge-bundle
===============================

A Papercut bundle for Symfony

1.0.1(5y ago)025PHPPHP ^7.1

Since Sep 30Pushed 5y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Papercut-bridge-bundle
======================

[](#papercut-bridge-bundle)

[![Software license](https://camo.githubusercontent.com/19e71064bf2c48e6d4d295d574327834e7ec479789654c09b95eb58c1ad680d2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d61696c6c6f74662f70617065726375742d6272696467652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Latest stable](https://camo.githubusercontent.com/02bd350faea09bfd79b3ccadb72c90dc3c292ee82c9769433712e6d2495d7a7d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61696c6c6f74662f70617065726375742d6272696467652d62756e646c65)](https://packagist.org/packages/maillotf/papercut-bridge-bundle)[![Packagist PHP Version Support](https://camo.githubusercontent.com/b9ffc78f9b940975e4be0b92a6501464d764f08a665c8ee093e0043037c7ad6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d61696c6c6f74662f70617065726375742d6272696467652d62756e646c65)](https://camo.githubusercontent.com/b9ffc78f9b940975e4be0b92a6501464d764f08a665c8ee093e0043037c7ad6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d61696c6c6f74662f70617065726375742d6272696467652d62756e646c65)

Symfony bundle for Papercut XML-RPC client which is base on token authentication

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

[](#required-configuration)

### Modify framework.yaml

[](#modify-frameworkyaml)

```
papercut:
    authentication:
        protocol: "http"
        host: "127.0.0.1"
        port: "80"
        path: "/rpc/api/xmlrpc"
        token: "TOKEN"
```

```
papercut:
    authentication:
        path: "http://URL/rpc/api/xmlrpc"
        token: "TOKEN"
```

### Modify services.yaml

[](#modify-servicesyaml)

```
services:
    MaillotF\Papercut\PapercutBridgeBundle\Service\PapercutService: '@papercut.service'
```

\##Package instalation with composer

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

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

[](#use-in-controller)

```
