Skip to content

dev: make dev enviroment - #606

Merged
fabiano-mallmann merged 4 commits into
developfrom
feat/make-dev-env
May 15, 2026
Merged

dev: make dev enviroment#606
fabiano-mallmann merged 4 commits into
developfrom
feat/make-dev-env

Conversation

@fabiano-mallmann

Copy link
Copy Markdown
Contributor

This pull request introduces a complete local development environment for the project using Docker, along with scripts and documentation to streamline setup, testing, and debugging. It also adds PHP 8.4 compatibility patches for vendor packages, integrates WordPress coding standards for code quality, and provides detailed documentation for contributors.

The most important changes are:

Development Environment Setup:

  • Adds a Docker-based development environment with services for WordPress (PHP 8.4 + Apache + XDebug 3), MariaDB 11, phpMyAdmin, and wp-cli, orchestrated via docker-compose and a comprehensive Makefile with common workflow commands. (.dev/Dockerfile, .dev/docker-compose.yml, .dev/php-dev.ini, .dev/xdebug.ini, Makefile) [1] [2] [3] [4] [5]
  • Introduces an automated initialization script that installs/configures WordPress, WooCommerce, example products, plugin activation, locale, permalinks, currency, and theme setup for a ready-to-use local environment. (.dev/init-wp.sh)

PHP Compatibility & Code Quality:

  • Adds a script to patch vendor PHP packages for explicit nullable parameter types, ensuring compatibility with PHP 8.4. (.dev/patch-vendor.sh, Makefile) [1] [2]
  • Updates composer.json to include PHP CodeSniffer and WordPress coding standards, enabling code linting and style checks. (composer.json)

Documentation:

  • Expands docs/README.md with detailed instructions for setting up the development environment, using XDebug (including VS Code integration), and available Makefile commands, improving onboarding for new contributors. (docs/README.md)

@backstage-catalog-validator

Copy link
Copy Markdown

⚠️ Este repositório ainda não está catalogado no Backstage. ⚠️

Por favor, catalogue-o seguindo as instruções nesta documentação. [Via VPN].

💁 Qualquer problema ou dúvida, estamos no Slack, basta abrir um ticket no canal #help-foundation-platform.

@fabiano-mallmann fabiano-mallmann self-assigned this May 15, 2026

@devandremachado devandremachado left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fabiano-mallmann
fabiano-mallmann merged commit bde6b68 into develop May 15, 2026
3 checks passed
@fabiano-mallmann
fabiano-mallmann deleted the feat/make-dev-env branch May 15, 2026 15:34
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.

4 participants