From 08610bff67aadc377d6b55e6776f1aa61c283d66 Mon Sep 17 00:00:00 2001 From: jaredcompton Date: Thu, 27 Jul 2023 15:52:36 +1000 Subject: [PATCH 1/3] Add PHP-minimal quickstart --- docs/quickstarts/php.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docs/quickstarts/php.md diff --git a/docs/quickstarts/php.md b/docs/quickstarts/php.md new file mode 100644 index 0000000..2df47c2 --- /dev/null +++ b/docs/quickstarts/php.md @@ -0,0 +1,29 @@ +--- +--- + +# PHP + +To deploy your PHP app on FL0, follow the guide below to configure your codebase correctly. + +### Minimal PHP app + +Add a new file `index.php` into an empty repository, and deploy this repository with FL0: + +```js title="/index.php" + + + + FL0 + + + + + +``` + +View an example template repository at https://github.com/fl0zone/template-php-minimal + +### Additional examples +Additional examples are coming soon From 30555963ca2d2852cbaee45444b383983acf76aa Mon Sep 17 00:00:00 2001 From: jaredcompton Date: Tue, 1 Aug 2023 11:52:56 +1000 Subject: [PATCH 2/3] Change js to php in php markdown code --- docs/quickstarts/php.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstarts/php.md b/docs/quickstarts/php.md index 2df47c2..135aa8f 100644 --- a/docs/quickstarts/php.md +++ b/docs/quickstarts/php.md @@ -9,7 +9,7 @@ To deploy your PHP app on FL0, follow the guide below to configure your codebase Add a new file `index.php` into an empty repository, and deploy this repository with FL0: -```js title="/index.php" +```php title="/index.php" From 210fc70ca4a77f374a2dbdf5e949c11da8f0dd50 Mon Sep 17 00:00:00 2001 From: jaredcompton Date: Tue, 1 Aug 2023 12:02:38 +1000 Subject: [PATCH 3/3] Explain that the ability to start index.php from a subfolder is coming soon --- docs/quickstarts/php.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/quickstarts/php.md b/docs/quickstarts/php.md index 135aa8f..8bfcded 100644 --- a/docs/quickstarts/php.md +++ b/docs/quickstarts/php.md @@ -25,5 +25,7 @@ Add a new file `index.php` into an empty repository, and deploy this repository View an example template repository at https://github.com/fl0zone/template-php-minimal -### Additional examples -Additional examples are coming soon +### Coming soon + +- ability to start `index.php` from a subfolder in your repository +- example using Composer to manage dependencies