GitHub Actions Integration

Automate code quality and security checks during your CI/CD pipelines using DebugPHP's GitHub Actions integration. Run debug sessions automatically on every push.

Integration Benefits

Automated Debugging

Run code analysis and debugging sessions automatically during your CI/CD pipeline without requiring any manual intervention.

Learn More

Code Safety

Ensure code quality and security before deployment by blocking pipelines with known vulnerabilities or performance issues.

Learn More

Real-Time Reports

Get instant feedback with execution traces, security reports, and code quality scores integrated directly into Pull Request checklists.

Learn More

Setup in 3 Simple Steps

Add the DebugPHP Action to your GitHub workflow using the steps below.

YAML debug-php-action
name: DebugPHP Code Scan

on: [push]

jobs:
  debug:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Code
        uses: actions/checkout@v3
      - name: Analyze Code with DebugPHP
        uses: debugphp/debug-action@v1
        with:
          token: ${{ secrets.DEBUGPHP_TOKEN }}
          rules: "all"
        env:
          DEBUGPHP_DEBUG: "1"
        

Integration Examples

PHP Projects

Automatically scan PHP code for vulnerabilities and performance issues during CI.

JavaScript

Monitor runtime behaviors for Node.js applications with real-time execution tracing.

Laravel

Add debugging capabilities to your Laravel framework projects as part of deployment.

Start Debugging in Your Repo

Set up DebugPHP GitHub Actions in minutes to gain full visibility into your code during CI and cd.