Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit a900c04

Browse files
committed
[docs] Add link to @obasekietinosa's Laravel guide in Gitpod's PHP guide
1 parent f08ff2d commit a900c04

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/docs/languages/php.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ First, you must create a [.gitpod.Dockerfile](https://www.gitpod.io/docs/config-
2727
```Dockerfile
2828
FROM gitpod/workspace-full
2929

30-
3130
RUN sudo apt-get update -q \
3231
&& sudo apt-get install -y php-dev
3332

@@ -41,7 +40,7 @@ RUN wget http://xdebug.org/files/xdebug-2.9.1.tgz \
4140
&& sudo bash -c "echo -e '\nzend_extension = /usr/lib/php/20170718/xdebug.so\n[XDebug]\nxdebug.remote_enable = 1\nxdebug.remote_autostart = 1\n' >> /etc/php/7.2/cli/php.ini"
4241
```
4342

44-
Second, reference the above Dockerfile in a [.gitpod.yml](https://www.gitpod.io/docs/config-gitpod-file/) file, and then also install the extension, like so:
43+
Second, reference the above Dockerfile in a [.gitpod.yml](/docs/config-gitpod-file/) file, and then also install the extension, like so:
4544

4645
```yaml
4746
image:
@@ -81,6 +80,7 @@ Finally, here is a full [example repository](https://github.com/JesterOrNot/Gitp
8180
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/JesterOrNot/Gitpod-PHP-Debug)
8281

8382
## PECL Package Manager
83+
8484
Gitpod's default workspace image also comes with the [PECL](https://pecl.php.net/) package manager pre-installed. To install packages with it, you must use `sudo pecl install <EXTENSION>` in your repository's [.gitpod.Dockerfile](https://www.gitpod.io/docs/config-docker/), e.g. like so:
8585
```Dockerfile
8686
FROM gitpod/workspace-full
@@ -89,3 +89,7 @@ RUN sudo pecl channel-update pecl.php.net && \
8989
sudo pecl install <EXTENSION>
9090
```
9191
where `<EXTENSION>` is the PHP extension you want to install, e.g. `xdebug`.
92+
93+
## External Resources
94+
95+
- [Gitpodifying a new Laravel Application](https://notes.etin.space/posts/gitpodifying-a-new-laravel-application) by Etin Obaseki

0 commit comments

Comments
 (0)