Skip to content
This repository was archived by the owner on Nov 14, 2026. It is now read-only.
kool-devPublic archive

About

Docker images for PHP Quality Assurance, Static Analysis, and CI tools

Topics

Resources

Stars

4 stars

Watchers

4 watching

Forks

Latest commit

 

History

49 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DISCONTINUED — Kool PHPQA

Discontinued as of 2026-11-14. This project receives no maintenance, security updates, or new releases. Existing kooldev/phpqa images are provided as-is and are not recommended for new projects.

For new or migrated projects, manage QA tools and their versions within your project and run them on maintained PHP images.

Image publishing and Docker Hub description workflows are disabled. The source, image references, and usage examples below are retained for historical reference.

Historical description

Minimal PHP QA Docker image focused on local/CI static analysis, styling and other tools.

It's plays nicely with kool.dev managed environments, but can fit in any other PHP use-case.

Tools included in the image

Static analysis

  • Phan - static analyzer for PHP (phan)
  • PHP Mess Detector (phpmd)
  • PHP Copy/Paste Detector (phpcpd)

Code Style

  • PHP Coding Standards Fixer (php-cs-fixer)

Security

  • Local PHP Security Checker (local-php-security-checker)

Testing

  • PHPUnit 9.5 (phpunit)
  • PHPUnit 10 (phpunit10, previously listed as cutting-edge testing)

Historical usage

Just execute any QA tool available straight from a new container. Using kool is the prefered way:

cd my-laravel-project/
kool docker kooldev/phpqa:7.4 phan
kool docker kooldev/phpqa:7.4 php-cs-fixer

With vanilla Docker you would need to run:

docker run --rm --init -it -v $(pwd):/app -w /app kooldev/phpqa:7.4

Historical tags

The image built is kooldev/phpqa with tags:

Historical kool.yml examples

Examples of what you can do in a kool powered environment. Add to your kool.yml file:

# kool.yml
scripts:
  # just an alias to the PHPQA container
  phpqa: kool docker kooldev/phpqa:8.1
  # using the alias to call each tool with predefined parameters
  # assuming your application code is located in a `app/` folder
  phan: kool run phpqa phan --color -p -l app -iy 5
  phpcpd: kool run phpqa phpcpd --fuzzy app
  # ...

Historical development reference

Development has ended. The template instructions below are retained only to explain how the historical image files were generated.

Update images with templates

You should change fwd-template.json for configuration and template/ folder for the actual base templates.

After any changes, we need to run kool run template to parse the templates and generate all versions folder/files.

License

The MIT License (MIT). Please see License File for more information.

About

Docker images for PHP Quality Assurance, Static Analysis, and CI tools

Topics

Resources

Stars

4 stars

Watchers

4 watching

Forks

Used by

Contributors

Languages