Skip to content

Explain services.php usage in modules#2152

Merged
kpodemski merged 3 commits into
PrestaShop:9.xfrom
hadjedjvincent:services-php-config
Jun 8, 2026
Merged

Explain services.php usage in modules#2152
kpodemski merged 3 commits into
PrestaShop:9.xfrom
hadjedjvincent:services-php-config

Conversation

@hadjedjvincent

Copy link
Copy Markdown
Contributor
Questions Answers
Branch? 9.x
Description? This PR updates the module services documentation to explain that modules can now use services.php as a service configuration file in PrestaShop 9.2.

It also:
- documents the loading priority between services.php, services-9.2.yml, services-9.yml, and services.yml
- shows how services.php can be used to load version-specific service definitions
- updates YAML examples to reference the main Services documentation when other service configuration formats are possible
- updates the module file structure page with the new possible service configuration files
- updates Symfony links on the Services page to Symfony 6.4, matching PrestaShop 9
Fixed ticket? Related to PrestaShop/PrestaShop#39664
Sponsor company VersusVenture (PrestaModule / BusinessTech)

@github-actions github-actions Bot added the 9.x label Jun 8, 2026
@kpodemski kpodemski merged commit 3e24a36 into PrestaShop:9.x Jun 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants