> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.stacktrack.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# PHP Deployment on Windows AMD64

### PHP Deployment on Windows AMD64
**Category:** programming\_languages
**Platform:** windows\_amd64
**Tools Used:** PHP
**Description:** Deploy a PHP application on Windows AMD64.
**Code:**
```
pipeline {
    agent { label 'xlarge && windows && x86 && economy' }
    stages {
        stage('Install Composer') {
            steps {
                bat 'composer install'
            }
        }
        stage('Build') {
            steps {
                bat 'php artisan build'
            }
        }
        stage('Test') {
            steps {
                bat 'phpunit tests/'
            }
        }
        stage('Deploy') {
            steps {
                bat 'php artisan deploy'
            }
        }
    }
}
```

**Expected Outcome:** PHP application deployed successfully