Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🐳 🐘 A Docker image designed for PHP developers that care about code quality.

License

NotificationsYou must be signed in to change notification settings

devdrops/php-toolbox

Hadolint statusTrivy statusSnyk Container statusDocker Hub status

A Docker image designed for PHP developers that care about code quality.

Available on Docker Hub atdevdrops/php-toolbox.

The Project

Each PHP version, starting from7.4, have at least 2 tags: one version without Xdebug, and another with Xdebug.

The following tools are available:

ToolDescription
PHPThe PHP programming language.
PHPUnitPHPUnit is a programmer-oriented testing framework for PHP.
PHP_CodeSnifferPHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
PHP CBFPHP Code Beautifier and Fixer automatically correct coding standard violations.
PHP CS FixerA tool to automatically fix PHP Coding Standards issues.
PHP Mess DetectorChecks for bugs, suboptimal code, overcomplicated expressions, unused parameters etc.
BehatA php framework for autotesting your business expectations.
PHPStanPHPStan finds bugs in your code without writing tests.
composer-unusedShow unused composer dependencies by scanning your code.
PsalmPrevent runtime errors and fix bugs automatically.
PestThe elegant PHP testing framework.
RectorInstant Upgrades and Automated Refactoring of any PHP 5.3+ code.
PHPArkitectPut your architectural rules under test!
phpspecA php toolset to drive emergent design by specification.
CodeceptionCodeception collects and shares best practices and solutions for testing PHP web applications.
InfectionPHP Mutation Testing Framework
DeptracDeptrac is a static code analysis tool for PHP that helps you communicate, visualize and enforce architectural decisions in your projects.
PhpMetricsPhpMetrics provides various metrics about PHP projects.
PDependPHP_Depend software analyzer and metric tool.

Install

docker pull devdrops/php-toolbox

Usage

All tools can be accessed by executing:

docker run -ti --rm -v$(pwd):/code -w /code devdrops/php-toolbox:latest<CHOOSEN_TOOL>

Where<CHOOSEN_TOOL> is the binary you're looking for 😉

Build it!

Clone this repository. Then, using a terminal window, go to it's root directory. Each version folder have it's ownMakefile with the following commands (you can runmake help to see a brief explanation of each command):

build                          Build the official tag.debug                          Build only the image with Xdebug.develop                        Build '*-dev' tag, including Xdebug.hadolint                       Lint ./Dockerfile with Hadolinthelp                           Print information of each Make task.latest                         Build two images: 1. official tag, 2. official tag + Xdebug.push                           Pushes to Docker Hub two images: 1. official tag, 2. official tag + Xdebug.release                        Build and deploy official tags.shellcheck                     Run shellcheck to scan sh files at ./helpers.

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp