diff --git a/.vitepress/toc_en.json b/.vitepress/toc_en.json index b489090496..de7ca856ce 100644 --- a/.vitepress/toc_en.json +++ b/.vitepress/toc_en.json @@ -56,6 +56,40 @@ ] } ] + }, + { + "text": "Migration Guides", + "collapsed": true, + "items": [ + { + "text": "Upgrading CakePHP", + "link": "/appendices/migration-guides" + }, + { + "text": "5.0 Migration Guide", + "link": "/appendices/5-0-migration-guide" + }, + { + "text": "5.0 Upgrade Guide", + "link": "/appendices/5-0-upgrade-guide" + }, + { + "text": "5.1 Migration Guide", + "link": "/appendices/5-1-migration-guide" + }, + { + "text": "5.2 Migration Guide", + "link": "/appendices/5-2-migration-guide" + }, + { + "text": "5.3 Migration Guide", + "link": "/appendices/5-3-migration-guide" + }, + { + "text": "5.4 Migration Guide", + "link": "/appendices/5-4-migration-guide" + } + ] } ] }, @@ -372,34 +406,6 @@ "text": "Appendices", "items": [ { "text": "Appendices", "link": "/appendices" }, - { - "text": "Migration Guides", - "link": "/appendices/migration-guides" - }, - { - "text": "5.0 Migration Guide", - "link": "/appendices/5-0-migration-guide" - }, - { - "text": "5.0 Upgrade Guide", - "link": "/appendices/5-0-upgrade-guide" - }, - { - "text": "5.1 Migration Guide", - "link": "/appendices/5-1-migration-guide" - }, - { - "text": "5.2 Migration Guide", - "link": "/appendices/5-2-migration-guide" - }, - { - "text": "5.3 Migration Guide", - "link": "/appendices/5-3-migration-guide" - }, - { - "text": "5.4 Migration Guide", - "link": "/appendices/5-4-migration-guide" - }, { "text": "CakePHP Development Process", "link": "/appendices/cakephp-development-process" diff --git a/docs/en/appendices/migration-guides.md b/docs/en/appendices/migration-guides.md index e44ef82e7c..4f1dee2fbb 100644 --- a/docs/en/appendices/migration-guides.md +++ b/docs/en/appendices/migration-guides.md @@ -1,5 +1,5 @@ --- -title: "Migration Guides" +title: "Upgrading CakePHP" description: "Upgrade CakePHP versions: follow migration guides for each release, understand breaking changes, and smoothly transition between versions." --- @@ -25,15 +25,16 @@ git checkout 5.x composer install --no-dev # Run rector with the desired ruleset -bin/cake upgrade rector --rules cakephp51 +bin/cake upgrade rector --rules cakephp52 ``` Run rector before updating your `composer.json` dependencies to ensure the tool can resolve class names correctly. -- [5 0 Upgrade Guide](5-0-upgrade-guide) -- [5 0 Migration Guide](5-0-migration-guide) -- [5 1 Migration Guide](5-1-migration-guide) -- [5 2 Migration Guide](5-2-migration-guide) -- [5 3 Migration Guide](5-3-migration-guide) -- [5 4 Migration Guide](5-4-migration-guide) +- [5.0 Upgrade Guide](5-0-upgrade-guide) +- [5.0 Migration Guide](5-0-migration-guide) +- [5.1 Migration Guide](5-1-migration-guide) +- [5.2 Migration Guide](5-2-migration-guide) +- [5.3 Migration Guide](5-3-migration-guide) +- [5.4 Migration Guide](5-4-migration-guide) +- [PHPUnit Upgrade](phpunit-upgrade) diff --git a/docs/en/installation.md b/docs/en/installation.md index 87eb6f3d69..00e66f8094 100644 --- a/docs/en/installation.md +++ b/docs/en/installation.md @@ -394,6 +394,9 @@ myapp.local { # Dockerfile in your project root FROM dunglas/frankenphp +# Install required php extension +RUN install-php-extensions intl + # Copy your CakePHP application COPY . /app