Skip to content

Development

This content is not available in your language yet.

This document describes development workflows and maintenance tasks for the project.

To keep configuration files synchronized with the latest template updates, use the sync-metadata command. This command downloads the latest configuration files from the template repository.

Terminal window
composer sync-metadata

This command updates the following configuration files:

FilePurpose
.editorconfigEditor settings and code style configuration
.gitattributesGit attributes and file handling rules
.gitignoreGit ignore patterns and exclusions
.styleci.ymlStyleCI code style analysis configuration
infection.json5Infection mutation testing configuration
phpstan.neonPHPStan static analysis configuration
phpunit.xml.distPHPUnit test configuration

Run this command in the following scenarios:

  • Periodic Updates - Monthly or quarterly to benefit from template improvements.
  • After Template Updates - When the template repository has new configuration improvements.
  • Before Major Releases - Ensure your project uses the latest best practices.
  • When Issues Occur - If configuration files become outdated or incompatible.
  • This command overwrites existing configuration files with the latest versions from the template.
  • Ensure you have committed any custom configuration changes before running this command.
  • Review the updated files after syncing to ensure they work with your specific project needs.
  • Some projects may require customizations after syncing configuration files.