2017 © Pedro Peláez
 

library json-api-server-resource-mapper-bundle

Symfony integration for enm/json-api-server-resource-mappers

image

enm/json-api-server-resource-mapper-bundle

Symfony integration for enm/json-api-server-resource-mappers

  • Tuesday, December 5, 2017
  • by eosnewmedia
  • Repository
  • 4 Watchers
  • 0 Stars
  • 825 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 9 % Grown

The README.md

JSON API Server / Resource Mapper Bundle

Build Status SensioLabsInsight, (*1)

Symfony integration for enm/json-api-server-resource-mappers, (*2)

  1. Installation
  2. Usage

Installation

You should install enm/json-api-server-bundle before, but it's not required!, (*3)

composer require enm/json-api-server-resource-mapper-bundle

in your AppKernel:, (*4)

public function registerBundles(): array
{
    $bundles = [
        // ...
        new Enm\Bundle\JsonApi\Server\ResourceMappers\EnmJsonApiServerResourceMapperBundle(),
        // ...
    ];

    return $bundles;
}

Usage

Your resource mappers must be defined as services and tagged with json_api_server.resource_mapper to be detected by this bundle., (*5)

services:
    app.resource_mappers.example:
        class: AppBundle\ResourceMappers\ExampleMapper
        tags:
            - { name: 'json_api_server.resource_mapper' }

The registry service, which you will need for dependency injection, is Enm\JsonApi\Server\ResourceMappers\Mapper\ResourceMapperInterface., (*6)

The Versions

05/12 2017

dev-master

9999999-dev

Symfony integration for enm/json-api-server-resource-mappers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Marien

05/12 2017

1.1.0

1.1.0.0

Symfony integration for enm/json-api-server-resource-mappers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Marien

05/12 2017

dev-develop

dev-develop

Symfony integration for enm/json-api-server-resource-mappers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Marien

08/09 2017

1.0.0

1.0.0.0

Symfony integration for enm/json-api-server-resource-mappers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Marien