Skip to content

Commit e219c19

Browse files
committed
Reorder extension sections in same order as table of contents
1 parent 766a93d commit e219c19

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -367,19 +367,40 @@ Supported profilers:
367367
- [Tideways v4.x](#tideways-4x): PHP >= 7.0
368368
- [UProfiler](#uprofiler): PHP >= 5.3, < PHP 7.0
369369

370+
### Tideways XHProf (5.+)
371+
372+
[Tideways XHProf v5.x][tideways_xhprof] requires PHP >= 7.0.
373+
374+
To install `tideways_xhprof` extension, see their [installation documentation][tideways-xhprof-install].
375+
376+
[tideways_xhprof]: https://github.com/tideways/php-xhprof-extension
377+
[tideways-xhprof-install]: https://github.com/tideways/php-xhprof-extension#installation
378+
379+
Alternatively on `brew` (macOS) you can use packages from [kabel/pecl] or [glensc/tap] taps:
380+
381+
```
382+
brew install glensc/tap/php@7.1-tideways-xhprof
383+
brew install kabel/pecl/php@7.2-tideways-xhprof
384+
brew install kabel/pecl/php@7.3-tideways-xhprof
385+
brew install kabel/pecl/php-tideways-xhprof
386+
```
387+
388+
[kabel/pecl]: https://github.com/kabel/homebrew-pecl
389+
[glensc/tap]: https://github.com/glensc/homebrew-tap
390+
370391
### XHProf
371392

372393
[XHProf] supports all PHP versions.
373394

374395
- `xhprof` 0.9.x requires PHP >= 5.3, < PHP 7.0
375396
- `xhprof` 2.x requires PHP >= 7.0
376397

377-
for PHP 5:
398+
for PHP 5.x:
378399
```
379400
pecl install xhprof-0.9.4
380401
```
381402

382-
for PHP 7:
403+
for PHP >=7.0:
383404
```
384405
pecl install xhprof
385406
```
@@ -412,27 +433,6 @@ echo extension=/usr/local/lib/php/pecl/20160303/tideways.so | tee /usr/local/etc
412433

413434
[Tideways]: https://tideways.com/profiler/downloads
414435

415-
### Tideways XHProf (5.+)
416-
417-
[Tideways XHProf v5.x][tideways_xhprof] requires PHP >= 7.0.
418-
419-
To install `tideways_xhprof` extension, see their [installation documentation][tideways-xhprof-install].
420-
421-
[tideways_xhprof]: https://github.com/tideways/php-xhprof-extension
422-
[tideways-xhprof-install]: https://github.com/tideways/php-xhprof-extension#installation
423-
424-
Alternatively on `brew` (macOS) you can use packages from [kabel/pecl] or [glensc/tap] taps:
425-
426-
```
427-
brew install glensc/tap/php@7.1-tideways-xhprof
428-
brew install kabel/pecl/php@7.2-tideways-xhprof
429-
brew install kabel/pecl/php@7.3-tideways-xhprof
430-
brew install kabel/pecl/php-tideways-xhprof
431-
```
432-
433-
[kabel/pecl]: https://github.com/kabel/homebrew-pecl
434-
[glensc/tap]: https://github.com/glensc/homebrew-tap
435-
436436
### UProfiler
437437

438438
[UProfiler] requires PHP >= 5.3, < PHP 7.0

0 commit comments

Comments
 (0)