@@ -6,6 +6,7 @@ import Layout from "../layouts/Layout.astro";
66import CopyCodeButton from " ../components/CopyCodeButton.astro" ;
77import PresetsCodeBlock from " ../components/PresetsCodeBlock.astro" ;
88import ThemeToggle from " ../components/ThemeToggle.astro" ;
9+ import VersionsCodeBlock from " ../components/VersionsCodeBlock.astro" ;
910
1011const code = " curl -fsSL https://tryphp.dev/install.sh | bash" ;
1112---
@@ -113,41 +114,23 @@ const code = "curl -fsSL https://tryphp.dev/install.sh | bash";
113114 </section >
114115
115116 <section >
116- <h2 class =" mb-4 font-semibold text-2xl" >Custom Install </h2 >
117+ <h2 class =" mb-4 font-semibold text-2xl" >Custom PHP Versions </h2 >
117118 <p class =" mb-4 text-lg" >
118- You can install custom php versions or tailored presets for various
119- frameworks and applications. for example, the laravel preset installs
120- php with all the extensions needed to run a laravel application.
119+ You can install custom PHP versions tailored to your needs. This allows
120+ flexibility for various projects and environments, ensuring you’re
121+ running the right version for your application.
121122 </p >
122- <PresetsCodeBlock
123- presets ={ [
124- {
125- id: " php74" ,
126- preset: " PHP7.4" ,
127- code: " curl -fsSL https://tryphp.dev/7.4/install.sh | bash" ,
128- },
129- {
130- id: " php81" ,
131- preset: " PHP8.1" ,
132- code: " curl -fsSL https://tryphp.dev/8.1/install.sh | bash" ,
133- },
134- {
135- id: " php82" ,
136- preset: " PHP8.2" ,
137- code: " curl -fsSL https://tryphp.dev/8.2/install.sh | bash" ,
138- },
139- {
140- id: " php83" ,
141- preset: " PHP8.3" ,
142- code: " curl -fsSL https://tryphp.dev/8.3/install.sh | bash" ,
143- },
144- {
145- id: " laravel" ,
146- preset: " Laravel" ,
147- code: " curl -fsSL https://tryphp.dev/presets/laravel | bash" ,
148- },
149- ]}
150- />
123+ <VersionsCodeBlock />
124+ </section >
125+
126+ <section >
127+ <h2 class =" mb-4 font-semibold text-2xl" >Tailored Presets</h2 >
128+ <p class =" mb-4 text-lg" >
129+ We also support tailored presets for popular frameworks and
130+ applications. For example, the Laravel preset installs PHP with all the
131+ necessary extensions to run a Laravel application smoothly.
132+ </p >
133+ <PresetsCodeBlock />
151134 </section >
152135
153136 <section >
0 commit comments