CORS API supporting Symfony3 + Angular2

Is your API giving you trouble with a missing Access-Control-Allow-Origin header error? Perhaps you enjoy living on the bleeding edge, and you’ve decided to build an app with Symfony3 + Anglar2 and you’ve seen this before? XMLHttpRequest cannot load No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:4000’ Read more…

Symfony + GulpJS

I recently endeavored to update CamelotHub to Symfony3 and in doing so I abandoned Assetic in place of a more modern gulp approach. All things considered it was actually quite straight forward and certainly less overhead than Assetic.

Once complete, execution is as simple as running the command gulp Read more…

Angular + Symfony file upload with AWS S3

First, using the fantastic work of Jenny Louthan of Uncorked Studios, implement this directive:

Secondly, write the Angular function to handle the upload:

Third, write the action in Symfony to process the file upload, with the proper route: path/to/routes.yml


Now, referencing my previous post on setting up Liip + Read more…