@@ -64,63 +64,13 @@ <h2 class="graphic-info__title">Install via composer</h2>
6464< div class ="install-instructions ">
6565 < div class ="container ">
6666 < div class ="row ">
67- < div class ="install-instructions__item col-lg-10 offset-lg-1 col-xl-6 offset-xl-0 ">
68- < h3 class ="install-instructions__title "> Step 1: Create a new composer project</ h3 >
69- < div class ="install-instructions__code ">
70- < pre > < code > composer init</ code > </ pre >
71- </ div >
72- </ div >
73-
74- < div class ="install-instructions__item col-lg-10 offset-lg-1 col-xl-6 offset-xl-0 ">
75- < h3 class ="install-instructions__title "> Step 2: Configure composer. The below options are required. You can < a href ="https://github.com/AydinHassan/magento-core-composer-installer#configuration " target =_blank > see all options here</ a > .</ h3 >
76- < div class ="install-instructions__code ">
77- < pre > < code >
78- # Allow composer to apply patches to dependencies of magento-lts
79- composer config --json extra.enable-patching true
80-
81- # Configure Magento core composer installer to use magento-lts as the Magento source package
82- composer config extra.magento-core-package-type magento-source
83-
84- # Configure the root directory that magento-lts will be installed to, such as "pub", "htdocs", or "www"
85- composer config extra.magento-root-dir pub
86- </ code > </ pre >
87- </ div >
88- </ div >
89-
90- < div class ="install-instructions__item col-lg-10 offset-lg-1 col-xl-6 offset-xl-0 ">
91- < h3 class ="install-instructions__title "> Step 3: Require magento-core-composer-installer</ h3 >
92- < div class ="install-instructions__code ">
93- < pre > < code >
94- # PHP 7
95- composer require "aydin-hassan/magento-core-composer-installer":"~2.0.0"
96-
97- # PHP 8
98- composer require "aydin-hassan/magento-core-composer-installer":"^2.1.0"
99- </ code > </ pre >
100- </ div >
101- < p > Note: be sure to select y if composer asks you to trust aydin-hassan/magento-core-composer-installer.</ p >
102- </ div >
103-
104- < div class ="install-instructions__item col-lg-10 offset-lg-1 col-xl-6 offset-xl-0 ">
105- < h3 class ="install-instructions__title "> Step 4: Require the appropriate version of magento-lts</ h3 >
106- < div class ="install-instructions__code ">
107- < pre > < code >
108- # Latest tagged v20 series release
109- composer require "openmage/magento-lts":"^20.0.0"
110-
111- # Legacy v19 tagged release (Magento 1.9.4.x drop-in replacement supported until April 4, 2025)
112- composer require "openmage/magento-lts":"^19.4.0"
113-
114- # Latest on "main" development branch
115- composer require "openmage/magento-lts":"dev-main"
116-
117- # Latest on "next" development branch
118- composer require "openmage/magento-lts":"dev-next"
119- </ code > </ pre >
120- </ div >
121- < p > Note: be sure to select y if composer asks you to trust magento-hackathon/magento-composer-installer or cweagans/composer-patches.</ p >
67+ < div class ="install-instructions__item ">
68+ < h4 class ="card-title "> Install instructions</ h4 >
69+ < p class ="install-instructions__warning ">
70+ Continue reading:
71+ < a href ="https://docs.openmage.org/users/install/_use-composer/ "> https://docs.openmage.org/users/install/use-composer/</ a >
72+ </ p >
12273 </ div >
123-
12474 </ div >
12575 </ div >
12676</ div >
0 commit comments