Skip to content

Fix Docker quickstart: install intl before composer create-project#8322

Merged
LordSimal merged 1 commit into
5.xfrom
5.x-docker-intl
Jul 16, 2026
Merged

Fix Docker quickstart: install intl before composer create-project#8322
LordSimal merged 1 commit into
5.xfrom
5.x-docker-intl

Conversation

@dereuromark

Copy link
Copy Markdown
Member

Fixes #8319.

The documented Docker create-project command uses the base composer image, which does not bundle the intl extension. Resolving cakephp/cakephp then fails:

cakephp/cakephp requires ext-intl * -> it is missing from your system.

Run Composer inside a php:8.2-cli image with intl installed instead, consistent with the development-server step that follows it.

Verified end to end: the new command scaffolds a working cakephp/app:~5.3 project (vendor/, bin/cake present) with no platform-requirement errors.

The base composer image does not bundle the intl extension, so the
documented 'docker run ... composer create-project' command failed with
'ext-intl is missing from your system' when resolving cakephp/cakephp.

Run Composer inside a php:8.2-cli image with intl installed instead,
matching the development-server step that follows.
@dereuromark dereuromark requested a review from markstory July 15, 2026 14:59
@LordSimal LordSimal merged commit 4417f66 into 5.x Jul 16, 2026
6 checks passed
@LordSimal LordSimal deleted the 5.x-docker-intl branch July 16, 2026 05:33
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.

Can't init CakePHP with Docker solution - requires ext-intl * -> it is missing from your system. Install or enable PHP's intl extension.

2 participants