2017 © Pedro Peláez
 

symfony-bundle rest-bundle

Fast REST API implementation for symfony 2 / 3

image

helgart/rest-bundle

Fast REST API implementation for symfony 2 / 3

  • Tuesday, July 19, 2016
  • by Helgart
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

RESTBundle

Fast REST API implementation for symfony 2 / 3., (*1)

Why another RESTBundle for Symfony ?

Simply because when you want to make a REST API with Symfony you have to either :, (*2)

  • Use a boilerplate already configured with a lot of modification.
  • Use a set of bundle and spend a lot of time configuring and mastering all of these.

This bundle is here to offer another solution, an already configured set of bundle. You use your platform with your configuration and add an already working API part. It's up to you then to change all the configurations you want., (*3)

How to install ?

Install FriendsOfSymfony RESTBundle

composer require friendsofsymfony/rest-bundle '^2.0', (*4)

And add it to your app/AppKernel.php :, (*5)

    <?php
    $bundles = [
        ...
        new FOS\RestBundle\FOSRestBundle(),
    ]

Install Nelmio CORSBundle

composer require friendsofsymfony/rest-bundle '^1.4', (*6)

And add it to your app/AppKernel.php :, (*7)

    <?php
    $bundles = [
        ...
        new Nelmio\CorsBundle\NelmioCorsBundle(),
    ]

Install this bundle

composer require helgart/rest-bundle '^0.1', (*8)

And add it to your app/AppKernel.php :, (*9)

    <?php
    $bundles = [
        ...
        new helgart\RESTBundle\helgartRESTBundle(),
    ]

And that's all ... All configurations are done for you., (*10)

If you want to know more about default behavior, or change it, please refer to documentation bellow :, (*11)

The Versions

19/07 2016

dev-master

9999999-dev

Fast REST API implementation for symfony 2 / 3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Michael FORASTE

api rest restfull