Skip to content

feat(dev): containerized cross-platform dev environment - #56

Merged
tyrsson merged 2 commits into
1.1.xfrom
containerized-dev-environment
Aug 22, 2026
Merged

feat(dev): containerized cross-platform dev environment#56
tyrsson merged 2 commits into
1.1.xfrom
containerized-dev-environment

Conversation

@tyrsson

@tyrsson tyrsson commented Aug 22, 2026

Copy link
Copy Markdown
Member

Replace the legacy Apache-based \docker/\ dev setup with the webware-tools containerized dev-environment model so Windows/macOS/Linux developers can work without a native PHP toolchain.

What changed

  • Single \compose.yml\ (single source of truth): persistent \ ooling\ container (PHP 8.4.24 + Composer + Mago 1.47.2 + Xdebug), plus \mysql\ (8.4) and \phpmyadmin\ services for the MySQL-backed \PhpDbHandler\ integration tests.
  • Package \Dockerfile\ adds \pdo_mysql\ + \mysqli\ on top of the webware-tools toolchain base.
  • .devcontainer/devcontainer.json\ (VS Code 'Reopen in Container') and .dockerignore.
  • MySQL credentials mirror CI (
    oot\ / empty password / \webware_log_test); schema + data seeded by the PHPUnit \ListenerExtension, not by the service.
  • Remove legacy \docker/, \phpstan.neon.dist, \�in/install-deps.sh.
  • composer.json: drop unsupported \8.6.0-dev, add @mutation-test\ to \ est-all.
  • Ignore .specify/\ and \specs/.

Verification

  • \docker compose build\ succeeds.
  • \composer test\ → 85 tests, 126 assertions.
  • \composer test-integration\ → 6 tests, 16 assertions (MySQL connectivity + fixture seeding confirmed).
  • \mago lint\ → no issues.
  • All committed files LF-only.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

tyrsson and others added 2 commits August 22, 2026 16:08
…ooling

Adopt the webware-tools dev environment model: a persistent tooling
container (PHP 8.4.24 + Composer + Mago + Xdebug) with opt-in MySQL 8.4
and phpMyAdmin services for the MySQL-backed PhpDbHandler integration
tests.

- Replace docker/ apache setup + compose.yml with a single compose.yml
  (tooling + mysql + phpmyadmin) backed by a package Dockerfile.
- Add pdo_mysql + mysqli extensions for the PhpDb MySQL adapter.
- Add .dockerignore and .devcontainer/devcontainer.json.
- Remove legacy phpstan.neon.dist and bin/install-deps.sh.
- Drop unsupported 8.6.0-dev from composer require.php; add mutation-test
  to the test-all script.
- Ignore .specify/ and specs/.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@codecov

codecov Bot commented Aug 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@tyrsson
tyrsson merged commit b327f51 into 1.1.x Aug 22, 2026
11 checks passed
@tyrsson
tyrsson deleted the containerized-dev-environment branch August 22, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant