Jenkins pipeline

A continuous integration pipeline with Jenkins in Docker

This article should be useful for people that want to build their continuous integration system with Jenkins or those who are evaluating the option. We show in an example of a Jenkinsfile where we build a Symfony application with Composer, execute PHPUnit tests and how we pushed the Docker images to a custom repository. Furthermore, we show how we execute the pipeline on a Docker Swarm cluster with a custom Jenkins agent. The reason for Read more…

API Platform and Symfony 4

How to build a Symfony 4 API Platform application from scratch

Symfony 4 and the API Platform Framework make it easy to create an API application with basic CRUD operations. However, in real-world applications more advanced features (e.g. authentication and custom endpoints) are needed which require quite a bit of knowledge to set-up. Therefore, in this blog article, we explore these advanced features by creating an example application that covers the following topics: Step 1. Installation of API Platform and the EasyAdminBundle Step 2. Creation of Read more…

Why and how you should use Docker with Symfony 4

Symfony 4 made a deliberate choice to create new features to support microservices. Symfony Flex and Recipes make it easy to create a project that holds the minimal of dependencies, for example, the Twig (layout) component is not loaded when creating a minimal API application: 12composer create-project symfony/skeleton my-project composer req api This makes Symfony 4 a good choice for setting up our microservices especially in combination with the reduced complexity of bundle-less applications and sensible Read more…

What to expect of this blog?

This blog is written mainly to have a reason to do research and to document the progress in the hope it will be useful for the audience. I expect to benefit from this blog by getting in touch with like-minded people and receiving feedback about the topics. My background is in computer science and engineering with an MSc in Human Media Interaction and with four-year experience as a Drupal developer with experience in enterprise solution architecture for Read more…