You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All notable changes to this project will be documented in this file.
4
+
5
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+
## [v0.1.3] - 2026-04-20
9
+
10
+
### Added
11
+
- Helm chart example for deploying WordPress + MySQL + Nginx with PHPScope as a sidecar container and Pyroscope as a subchart dependency (`examples/helm-chart/wordpress-example`)
Copy file name to clipboardExpand all lines: README.md
+53-19Lines changed: 53 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
[](https://vshymanskyy.github.io/StandWithUkraine/)
4
4
5
-
PHPScope is a PHP profiling tool based on [phpspy](https://github.com/adsr/phpspy) that integrates with Pyroscope to provide continuous profiling for PHP applications. It captures trought[phpspy](https://github.com/adsr/phpspy) PHP-FPM and PHP CLI processes performance data and sends it to a Pyroscope server for visualization and analysis.
5
+
PHPScope is a PHP profiling tool based on [phpspy](https://github.com/adsr/phpspy) that integrates with Pyroscope to provide continuous profiling for PHP applications. It captures through[phpspy](https://github.com/adsr/phpspy) PHP-FPM and PHP CLI processes performance data and sends it to a Pyroscope server for visualization and analysis.
6
6
7
7
## Features
8
8
@@ -27,10 +27,10 @@ The diagram above shows the main components of PHPScope:
27
27
28
28
## Prerequisites
29
29
30
-
- Go 1.23.3 or higher
30
+
- Go 1.26.2 or higher
31
31
- PHP-FPM or PHP CLI processes running ( Tested on PHP 8.3 )
32
32
- Access to a Pyroscope server
33
-
- phpspy installed on the system ( Incuded in docker container )
33
+
- phpspy installed on the system ( Included in docker container )
34
34
35
35
## Installation
36
36
@@ -39,15 +39,47 @@ You can either run PHPScope using Docker Compose or build it from source.
39
39
### Using Docker Compose
40
40
41
41
```shell
42
-
curl -sSL https://raw.githubusercontent.com/everythings-gonna-be-alright/phpScope/refs/heads/main/docker-compose.yaml | docker compose -f - up -d
42
+
curl -sSL https://raw.githubusercontent.com/everythings-gonna-be-alright/phpScope/refs/heads/main/examples/docker-compose/docker-compose.yaml | docker compose -f - up -d
43
43
```
44
44
45
+
Once running, PHPScope will automatically discover and profile all PHP processes (PHP-FPM and PHP CLI) running on the host — including those inside Docker containers — and continuously stream profiling data to the bundled Pyroscope instance.
46
+
45
47
After installation, you can access the Pyroscope UI at:
46
48
47
49
```shell
48
50
http://127.0.0.1:4040
49
51
```
50
52
53
+
### Deploying on Kubernetes (Helm)
54
+
55
+
For Kubernetes environments, the recommended approach is to run PHPScope as a **sidecar container** alongside your PHP application pod. This gives PHPScope direct access to the PHP processes within the same pod namespace without requiring host-level privileges beyond the pod boundary.
56
+
57
+
A Helm chart example is available in [`examples/helm-chart/wordpress-example`](examples/helm-chart/wordpress-example). It includes a full deployment with PHPScope as a sidecar, Pyroscope as a subchart dependency, NetworkPolicy, and all required RBAC resources.
0 commit comments