PHPackages                             aterrien/forp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. aterrien/forp

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

aterrien/forp
=============

Wrapper for forp PHP profiler extension.

0401PHP

Since Nov 14Pushed 12y ago1 watchersCompare

[ Source](https://github.com/aterrien/forp-php)[ Packagist](https://packagist.org/packages/aterrien/forp)[ RSS](/packages/aterrien-forp/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

forp-php
========

[](#forp-php)

[![Scrutinizer Quality Score](https://camo.githubusercontent.com/fbe666c6bf20dc42ebdd3e97455a1050c377d063bdd646ba6cc5bd98125df200/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f617465727269656e2f666f72702d7068702f6261646765732f7175616c6974792d73636f72652e706e673f733d66393932346434323032353231643639363232636435636265613063623534336265626231313261)](https://scrutinizer-ci.com/g/aterrien/forp-php/)

forp-php is a composer package that "simplifies" usage of forp PHP profiler on your application.

What it does :

- it starts forp PHP profiler.
- it registers the forp output callback on shutdown of the PHP script.
- it selects the most appropriate response to the client.

Dependencies
------------

[](#dependencies)

Server-side :

- [forp-PHP-profiler](https://github.com/aterrien/forp-PHP-profiler/) : must be installed on your server

Client-side :

- [forp-chrome](https://chrome.google.com/webstore/detail/forp-for-chrome/ngfngijlafennlhobihjppmngeollbnn?hl=fr) : Chrome client for Chrome users

OR

- [forp-ui](https://github.com/aterrien/forp-PHP-profiler/) : forp.min.js must be put on your own CDN

API = start($opts)
------------------

[](#api--startopts)

With $opts :

```
array(
    'no_internals' => 1,                // enable/disable collect of PHP internals
    'ui_src' => '',   // URL of forp-ui forp.min.js on your CDN @link https://github.com/aterrien/forp-ui/
    'flags' =>  self::FLAG_ALL,         // forp flags @link https://github.com/aterrien/forp-PHP-profiler/#forp_start-flags
)
```

Example :

```
// if($theCurrentRequestCanProfileTheCurrentScript) {

$Forp = new Forp\Forp(array(
    'ui_src' => '',
));
$Forp->start();

// }
```

It can be done in an auto-prepend-file.

Install
-------

[](#install)

Just add this package to the requires of your project (`composer.json`):

```
{
    "require":{
        "aterrien/forp": "dev-master"
    }
}
```

Don't forget to run the install command.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/142e04f2bdd29e41be312e1f57e86d76f7c3913dae7c313b538ba7600db7085f?d=identicon)[aterrien](/maintainers/aterrien)

### Embed Badge

![Health badge](/badges/aterrien-forp/health.svg)

```
[![Health](https://phpackages.com/badges/aterrien-forp/health.svg)](https://phpackages.com/packages/aterrien-forp)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
