Skip to content

lambdalab/gradle-php-build-plugin

Repository files navigation

Gradle php-build-plugin

A gradle plugin for building php applications

Build Status

Featues

  • Automatic composer installation and/or update
  • PHPUnit
  • More features in development...

Usage

buildscript {
    repositories {
        maven {
            url uri('../repo')
        }
    }
    dependencies {
        classpath group: 'org.swissphpfriends',
                name: 'php-build-plugin',
                version: '0.1-SNAPSHOT'
    }
}

apply plugin: 'php-build'

task test(type: org.swissphpfriends.gradle.task.PhpUnit) {
    path = './src'
    verbose = true
    outputTap = true
}

Please see documentation for full configuration options and more examples...

Contribution

If you found a bug or have a feature request, please submit an issue or propose a Pull Request. Please write tests for your contributions...

Development

Build JAR

cd plugin
../gradlew clean uploadArchives

Run Tests

cd plugin
../gradlew clean test

The tests are also executed on every Pull Request and for every branch by Travis CI.

License

This project, including all sourcecode and other documents is licensed under MIT. For details, see LICENSE.

About

A Gradle plugin to build PHP projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages