The very first version of PHPProm has just been released!
PHPProm is a library to measure some performance relevant metrics and expose them for Prometheus.
Its goal is to offer a simple, drop in solution to start measuring but without limiting customization.
This first version starts with an integration for Silex. Depending on the needs, other integrations for many other frameworks are on the horizon.
As the measurements are regulary collected by Prometheus visiting a specific endpoint, they need to be stored. PHPProm offeres support for various backends like Redis or Memcached.
Check out its repository including the full documentation: https://github.com/philiplb/CRUDlex
Continuous Delivery towards Flynn (CD), the self hosted platform as a service, is easily doable via Jenkins. Whereas the Jenkins specific parts are very low and they can be easily replaced with any other CI/CD software.
This posting skips the Continuous Integration part as this isn’t Flynn related and highly depends on the single project.
Some possible implementations are shown of a few scenarios I encountered using the git push deployment strategy of Flynn.
In order to use newer regions like Frankfurt, the CRUDlex Amazon S3 FileProcessor got a small update with the requirement of a newer version of the aws/aws-sdk-php. As this required a region parameter in the constructor, the small project changed to SemVer.
- Updated the aws/aws-sdk-php to ~3.19 and so requiring the region as first parameter in the constructor
- Relaxed a bit the required CRUDlex version
With 218 commits, this release of CRUDlex 0.10.0 is a bit bigger.
Most notable: Finally, many-to-many relationship landed in form of the many data type.
Also the versioning switched to SemVer. As the 1.0.0 isn’t released yet, the project is still free to change the API in a vivid way contrary to the small version jumps.
And so it does with this release! I’m pointing for example towards the switch to Silex 2.0. Each not backward compatible change is marked with “Attention” in the changelog.
But also the usability has improved a bit with the introduction of the validation of the entity definition YAML file.
Beside that, some refactoring and consolidation of the YAML format and the API has happened.
Read on to see the full changelog of all CRUDlex projects for details!