gollumsf/rest-bundle

Very simple REST Api implementation

Installs: 431

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

v2.6.6 2020-02-24 11:08 UTC

README

Build Status Coverage License Latest Stable Version Latest Unstable Version Discord

Very simple REST Api implementation

Installation:

composer require gollumsf/rest-bundle

config/bundles.php

return [
    // [ ... ]
    GollumSF\RestBundle\GollumSFRestBundle::class => ['all' => true],
];

config.yml

gollum_sf_rest:
    max_limit_item:              100   # (optional, default : 100) Max limit item API support when call ApiSearch, if 0 no limit.
    default_limit_item:          25    # (optional, default : 25) Default limit item API support if no limit on request when call ApiSearch
    always_serialized_exception: false # (optional, default : false) All symfony exception return json response. If false only route with Serialize annotation

Usages: