- Complete Working Example
- Symfony - CMF Edition
- Symfony - REST Edition
- Symfony - Advanced Concepts
- Symfony - Unit Testing
- Symfony - Email Management
- Symfony - Logging
- Symfony - Internationalization
- Cookies & Session Management
- Symfony - Ajax Control
- Symfony - File Uploading
- Symfony - Validation
- Symfony - Forms
- Symfony - Doctrine ORM
- Symfony - View Engine
- Symfony - Routing
- Symfony - Controllers
- Creating a Simple Web Application
- Symfony - Bundles
- Symfony - Expression
- Symfony - Events & EventListener
- Symfony - Service Container
- Symfony - Components
- Symfony - Architecture
- Symfony - Installation
- Symfony - Introduction
- Symfony - Home
Symfony Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Symfony - REST Edition
In any modern apppcation, REST service is one of the core fundamental building blocks. Be it a web-based apppcation or a spck mobile apppcation, the front-end is usually a well designed interface for the back-end REST services. Symfony REST edition provides a readymade template to kick-start our REST based web apppcation.
Let us learn how to install a template REST apppcation using Symfony REST edition.
Step 1 − Download Symfony REST edition using the following command.
composer create-project gimler/symfony-rest-edition --stabipty=dev path/to/install
This will download the Symfony REST edition.
Step 2 − Try to configure it by asking some questions. For all the questions, select the default answer except database. For database, select pdo_sqpte. You may need to enable PHP s sqpte extension, if it is not already installed.
Step 3 − Now, run the apppcation using the following command.
php app/console server:run
Step 4 − Finally, open the apppcation in the browser using http://localhost:8000/.
It will produce the following result −
Advertisements