Ride the Pipelines and Deploy a PHP App. Cowabunga!

Ride the Pipelines and Deploy a PHP App. Cowabunga!

Watch on YouTube

In the rapidly evolving landscape of web development, the deployment of PHP applications can be a complex and time-consuming process. This talk aims to demystify and streamline the deployment process by leveraging the powerful capabilities of GitHub Actions and GitLab Pipelines. We will start by introducing Continuous Integration/Continuous Deployment (CI/CD) principles and how they can be effectively applied to PHP projects.

The first part of the talk will focus on GitHub Actions. We will explore how to set up a basic workflow that includes steps for testing, building, and deploying a PHP application. This section will cover creating custom workflow files, configuring jobs, and managing dependencies. Special attention will be given to best practices for security and efficiency in a GitHub Actions environment.

Transitioning to GitLab Pipelines, the second part of the talk will delve into its unique features. We will demonstrate how to configure a .gitlab-ci.yml file for a PHP project, including setting up different stages for testing, building, and deploying. We’ll also discuss how to use GitLab’s built-in features like environment variables and caching to optimize the deployment process.

Throughout the talk, practical examples and real-world scenarios will be used to illustrate key concepts.

By the end of this session, attendees will have a comprehensive understanding of how to effectively use GitHub Actions and GitLab Pipelines for deploying PHP applications. They will be equipped with the knowledge to set up their own CI/CD pipelines, leading to more efficient, reliable, and automated deployment processes.

Slides can be found here

Presented by Josh Copeland

Joshua Copeland is CTO of Remote Dev Force and works with clients all over the world to build high quality systems. With over 15 years as a software architect and serial entrepreneur, Joshua has gained a good blend of start-up and enterprise experience. Developing PHP applications is a big part of his day-to-day work and keeps security first-in-mind. Joshua’s team of engineers regularly work on building features for mission critical projects in Laravel/Symfony, setting up and maintaining servers with Terraform/AWS, building CI pipelines with Jenkins/ADO/GitLab/GitHub Actions, Pen-testing, and much more. He has led the PHP Vegas Users Group for over 7 years and loves to give back by speaking at conferences and educating the community.

Participating Groups: Atlanta, Austin, Boston, Kansas City, Las Vegas, Phoenix, Portland, San Diego, Seattle, Utah, Vancouver

© MergePHP 2024. Source code available on GitHub. Designed by HTML Codex