Skip to the content.

πŸš€ PoC GitHub Actions CI pipeline for Laravel (PHP)

wakatime GitHub license GitHub last commit

Build Deploy PHP Lint

Maintainability Test Coverage CodeFactor


πŸ”¬ Proof of Concept (PoC) for using GitHub Actions with a Laravel (PHP) project to automate CI/CD processes β€” including building, testing, code quality analysis, and deployment via FTP/SFTP.


πŸ“¦ What’s in the box?

This project demonstrates a full CI/CD workflow using GitHub Actions:

βœ… CI - Continuous Integration

πŸš€ CD - Continuous Deployment


πŸ“ Detailed guide

πŸ‘‰ Refer to the blog post for a deep dive into how this works:

πŸ“– Using GitHub Actions to create a Laravel (PHP) pipeline. Build, test, and deploy!


πŸ“ Repository structure

.github/
  workflows/
    build.yml        # Build & test workflow
    deploy.yml       # Deploy to (S)FTP server
    php-lint.yml     # Lint PHP files
.env.example         # Example environment file
composer.json        # Laravel dependencies
README.md            # This file

βš™οΈ Requirements

To replicate this setup, make sure you have:


❀️ Contributing

This is a PoC, but feel free to fork, experiment, or suggest improvements via PRs or issues!


πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.