PHPackages                             foa/responder-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. foa/responder-bundle

ActiveLibrary

foa/responder-bundle
====================

Responder for action domain responder(adr) pattern

0.4.1(11y ago)51701[1 issues](https://github.com/friendsofaura/FOA.Responder_Bundle/issues)1BSD-2-ClausePHP

Since Nov 13Pushed 11y ago1 watchersCompare

[ Source](https://github.com/friendsofaura/FOA.Responder_Bundle)[ Packagist](https://packagist.org/packages/foa/responder-bundle)[ RSS](/packages/foa-responder-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (8)Versions (6)Used By (1)

FOA.Responder\_Bundle
=====================

[](#foaresponder_bundle)

AbstractResponder of [action domain responder](https://github.com/pmjones/adr) by Paul M Jones.

Foreword
--------

[](#foreword)

### Installation

[](#installation)

It is installable and autoloadable via composer as [foa/responder-bundle](https://packagist.org/packages/foa/responder-bundle).

```
composer require foa/responder-bundle
```

### Quality

[](#quality)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/25b96a47c3a40be80f90473ee000bd9804d4f7829694e71f0618fe002a2ced9a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f667269656e64736f66617572612f464f412e526573706f6e6465725f42756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/friendsofaura/FOA.Responder_Bundle/)[![Code Coverage](https://camo.githubusercontent.com/81e17462783ab2899111d3dd8af2e217a71794e8a38bdc4b93ee4491993ece45/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f667269656e64736f66617572612f464f412e526573706f6e6465725f42756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/friendsofaura/FOA.Responder_Bundle/)[![Build Status](https://camo.githubusercontent.com/c6bc3dec9e4709cf9c384971834c1625eec1f863f31e3ed9eabc2d7d20dfc809/68747470733a2f2f7472617669732d63692e6f72672f667269656e64736f66617572612f464f412e526573706f6e6465725f42756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/friendsofaura/FOA.Responder_Bundle)

This library attempts to comply with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md), and [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md). If you notice compliance oversights, please send a patch via pull request.

### Community

[](#community)

To ask questions, provide feedback, or otherwise communicate with the Aura community, please join our [Google Group](http://groups.google.com/group/auraphp), follow [@auraphp on Twitter](http://twitter.com/auraphp), or chat with us on #auraphp on Freenode.

Example usage
-------------

[](#example-usage)

It is recommend you first go through the [action domain responder](https://pmjones.github.io/adr/) paper and [example code](https://github.com/pmjones/adr/tree/master/example-code).

In this examples we are using few aura components, but `foa/responder-bundle` is not specifically for Aura framework. You can integrate in any framework if you like the concept using its classes.

Consider you are having a blog application, which you can browse the posts. Let us see how it looks in ADR. You should pay special attention to responder only. Action and Service layer components may differ with what you are using.

### Action

[](#action)

```
