php / php/php-src

Proper development container

Open
#16,110 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Status: Needs Triage
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

It's too difficult to set up a consistent PHP development environment when involving code that needs external servers, like database providers.

I would like an all-in-one Docker container that has all the software necessary to compile PHP with all extensions, and includes database servers that run in the background so I can run tests out of the box. These should be set up with the right credentials and the right environment variables should exist such that the test suite can connect to these databases. All with zero extra configuration, working out of the box.

I often just skip working on database stuff because it's too much of a PITA to set up things. Working on bugfixes is also frustrating because of this. Copying from the GitHub CI configuration is possible but also not a particularly fun experience.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the GitHub CI configuration mentioned in the issue and identify the PHP extensions, database servers, credentials, and environment variables required by the test suite. Done means a single Docker-based development environment can compile PHP, run the database services, and execute database tests without extra configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
developer-experience, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.