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

phpimages/dockerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

Docker PHP utils images

Images

See Packages section

  • ghcr.io/phpimages/php-cli-xdebug : PHP CLI image with xdebug
  • ghcr.io/phpimages/php-cli-allinclusive: PHP CLI image with commonly used extensions
  • ghcr.io/phpimages/phpstan: PHP CLI image with phpstan

Tip

All images has composer installed

Usage

# Run composer install with any php version. 
# Example 8.2 : ghcr.io/phpimages/php-cli-xdebug:8.2-alpine
docker run -v .:/opt -u $(id -u):$(id -g) ghcr.io/phpimages/php-cli-xdebug:8.2-alpine composer install 

WORKDIR is /opt on each images use -v to map your current dir with /opt.

Intellij/PHPStorm integration

If you want to run php commands on IntelliJ for PHPUnit or Composer you will need a PHP interpreter.

On Settings > Languages and Framework > PHP define a new interpreter from Docker :

PHP interpreter

About

Dockerfile for utils PHP images.

Topics

Resources

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /