This a post describing how to integrate PHP with Ember via JSON API
I have a limit for number of links in post. I’ll add them as separate comments. Sorry.
There are a few projects that make PHP and Ember integration relatively easy.
-
JSON API PHP
This is a framework agnostic package that implements JSON API specification version v1.0 - For practical usage
Limoncello Collins
andLimoncello Shot
could be used as quick start server apps (Laravel and Lumen based) -
Limoncello Ember
works with those JSON API server apps.
The server and client support
- CRUD operations for a few sample data models and Users.
- Cross-origin requests (CORS) to API server.
- Server login (Basic Auth) and API authentication (JWT Bearer).
I would like to especially thank Christopher @lindyhopchris for his invaluable help and advice.
The cornerstone that makes it all possible is JSON API PHP implementation which was the most difficult part. If you like the project I would appreciate if you star it on github. Thank you for your support.