Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

[ABANDONED] Example Symfony and AngularJS apps demonstrating qandidate/symfony-json-request-transformer

Notifications You must be signed in to change notification settings

qandidate-labs/symfony-json-request-transformer-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

symfony-json-request-transformer-example

Example Symfony and AngularJS demonstrating qandidate/symfony-json-request-transformer

Install

  1. Clone this repository.
  2. Run composer install
  3. Run bower install
  4. Run app/console server:run --env=dev -vvv to start the server

Example

Point your browser to http://localhost:8000/angular.html

You will see the AngularJS app performing two requests. One is a GET request, the other a POST request. In the DefaultController you will see the JSON POST request is automatically decoded and its properties are easily accessible in the Request object.

The magic happens in the JsonRequestTransformerListener which is tagged as a kernel.event_listener in services.xml

About

[ABANDONED] Example Symfony and AngularJS apps demonstrating qandidate/symfony-json-request-transformer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published