Skip to content
Permalink
3.x
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@mesanthu
Latest commit 6254a4a May 22, 2021 History
Removed the word six, As there was only 3 sections were listed.
8 contributors

Users who have contributed to this file

@Tobion @javiereguiluz @GuilhemN @lsmith77 @phansys @Ma27 @xabbuh @mesanthu

Getting Started With FOSRestBundle

.. toctree::
    :hidden:

    1-setting_up_the_bundle
    2-the-view-layer
    empty-content-status-code
    3-listener-support
    view_response_listener
    body_listener
    request_body_converter_listener
    format_listener
    versioning
    param_fetcher_listener
    4-exception-controller-support
    annotations-reference

Installation

Installation is a quick (I promise!) one-step process:

  1. :doc:`Setting up the bundle <1-setting_up_the_bundle>`

Bundle usage

Before you start using the bundle it is advised you run a quick look over the listed sections below. This bundle contains many features that are loosely coupled so you may or may not need to use all of them. This bundle is just a tool to help you in the job of creating a REST API with Symfony.

FOSRestBundle provides several tools to assist in building REST applications:

Config reference

Example applications

The following bundles/applications use the FOSRestBundle and can be used as a guideline: