Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 970 Bytes

1-setting_up_the_bundle.rst

File metadata and controls

26 lines (16 loc) · 970 Bytes

Step 1: Setting up the bundle

A) Download the Bundle

Assuming you already have set up a Symfony project, you can add the FOSRoutingRestBundle to it. Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require handcraftedinthealps/rest-routing-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Caution!

If you are not using Flex, you also have to enable the bundle by adding the following line in the config/bundles.php:

// config/bundles.php

HandcraftedInTheAlps\RestRoutingBundle\RestRoutingBundle::class => ['all' => true],