One of the habits of an effective programmer is to automate the development process. Automating shapes smarter future.

This is a quick guide on how to automate continuous integration for PHP projects. Whether you have used continuous integration or are struggling to find a suitable continuous integration tool, I hope this article has found you helpful.

To understand the flow. Ci

Flow. ci is a continuous integration (CI) service integrated with workflow mechanism. It can also be understood as an automated process platform. Build the development test environment and start the first Build in 1 minute.

At Flow.ci, we refer to the development workflow of a project as a flow, and each flow consists of triggers and plug-ins. The system provides corresponding flow templates, triggers and plug-ins according to different languages and environments. Flow is easy to customize, just one-click to add the plugins you need. It could be a code static analysis detection tool (e.g. Eslint), a database (e.g. Mysql/MongoDB/Redis), a message notification plug-in (e.g. Mail /Slack), etc.

Focus more on the code and leave the rest to flow. Ci automation 🙂

Let’s get started!

Setting up your PHP project is simple:

1. Create a project

2. Associated code repository

3. Select the project to integrate

4. Start your first Flow



Select PHP to see the default flow template, including intialize – MySQL Datebase – Git Clone – Cache – Install – Test flow.

5. Select the project language version and click Create Project

In this case, we chose MySQL database, if your project is MongoDB or Redis database, you can add the corresponding plug-in.

In addition to PHP, Flow. ci provides Nodejs, Python, Ruby, Java for Android, multi-language, multi-version development test environment. More languages will be supported later.

6. Click “+” to add plug-in and customize flow



After the initial configuration of the environment and language, flow.ci provides a basic flow template with common process plug-ins and process-triggering Settings. If you need to customize, click “+” or “Delete” or “edit” in the picture, real-time Settings can be.

7. Select MongoDB or Redis plug-ins from the search list and click Add.



In addition to these plug-ins, you can add as many as you need.

8, Bingo! Your Flow is ready. Now commit the code to Build.

Once this automated process is implemented, all you need to do is develop new features and submit code. Picture running through continuous integration process, healthy project status.

Tedious tasks should be automated tools, which is the unremitting pursuit of programmers. If you are also quickly implementing automated continuous integration for your PHP project, submit your application to the Flow. ci homepage and the invitation code will be sent to your email.

Looking forward to your feedback.

Happy Building!

flow.ci team