There is the little bit misleading composer command: composer update. It also allow to only update 1 to n packages with composer update package1 package2 (package names as arguments. Howevery, there is a constraint to be considered! composer update is updating the packages within the defined requirements – thus it is not updating the package.json!
If you want to install the newest package version, you must add the package as a new requirement with composer require. This way the newest (or older version if dependencies are blocking the newest) package will be used. composer install overwrites the package.json.
The times in web-development are over, that the backend side was allmighty and the frontend part was “pixel pushing” and fixing cross-browser issues. Today, modern applications are build in the client and the backend is just providing the data through an API. (And the backend still does the automatic background processes)
Given that I was looking for an existing module, which could create automatically the REST-endpoints for an existing databases, which was connected through Doctrine.
I had a rough look on three modules: stanlemon/rest-bundle, R3VoLuT1OneR/doctrine-rest and oligus/jad.
Continue reading “Automatic REST-API from Doctrine-Entities – Module evaluation”