Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpqatools Laravel Package

covex-nn/phpqatools

View on GitHub
Deep Wiki
Context7

PHP QA Tools

Contents (Phar files)

  • PHPUnit v4.8.26
  • PHP_CodeSniffer v2.6.1
  • phpDocumentor v2.8.5
  • PHPMD v2.4.3
  • phpcpd v2.0.4
  • phploc v3.0.1
  • PDepend v2.2.4
  • PHP CodeBrowser

Installation

{
  "require-dev" : {
    "covex-nn/phpqatools" : "~2.0"
  }
}

Usage

<?xml version="1.0" encoding="utf-8"?>
<project name="Your project name" default="init">
  <target name="init">
    <echo message="${ant.project.name} Init - OK" />
  </target>
</project>
  • Use this template for build-dev.xml
<?xml version="1.0" encoding="utf-8"?>
<project name="Your project name - PHP QA Tools" default="init">
  <import file="build.xml" />
  <import file="vendor/covex-nn/phpqatools/build.xml" />
</project>
  • Write code, create unit-tests
  • Run ant init
  • Run ant -f build-dev.xml CI-build

To skip one ore more QA tools set appropriate ant property to 1:

  • CI.no-pdepend
  • CI.no-phpmd
  • CI.no-phpcpd
  • CI.no-phpcs
  • CI.no-phploc
  • CI.no-phpunit
  • CI.no-phpcb
  • CI.no-phpdoc

To fail or to ignore ant job if CI tool return non-zero result set appropriate ant property to true or to false:

  • CI.failonerror-phpunit (default value: true)
  • CI.failonerror-pdepend (default value: false)
  • CI.failonerror-phpmd (default value: false)
  • CI.failonerror-phpcpd (default value: false)
  • CI.failonerror-phpcs (default value: false)
  • CI.failonerror-phploc (default value: false)
  • CI.failonerror-phpcb (default value: false)
  • CI.failonerror-phpdoc (default value: false)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package