PHPackages                             rootnet/privsep - 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. [Security](/categories/security)
4. /
5. rootnet/privsep

AbandonedArchivedLibrary[Security](/categories/security)

rootnet/privsep
===============

Privilege separating PHP code

2.0.1(7y ago)111233ISCPHPPHP ^7.1

Since Jun 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/rootnet/privsep)[ Packagist](https://packagist.org/packages/rootnet/privsep)[ Docs](http://www.rootnet.nl)[ RSS](/packages/rootnet-privsep/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Privsepd
========

[](#privsepd)

**The daemon for privilege separating php code**

privsepd is an RPC daemon for PHP. It is connection oriented and designed to provide an as near native interface for the client as possible through the remote interface. Every connection is run in it's own process to ensure that multiple connections don't interfere.

Code made available through the daemon needs to be self-contained and is loaded through the autoload directive in the configuration file. This autoload file is loaded at every connection, allowing code updates without server reloads. Besides regular calls (both functions and methods) the interface supports closures, arguments by reference, remote objects, and cascading throwables. Incoming function-, method- and attributerequests and returning throwables originating are subject to a whitelist check before returning.

Installation
============

[](#installation)

The installation is divided into two parts, the daemon installation and the composer package containing the code that connects to the daemon.

Daemon installation
-------------------

[](#daemon-installation)

You can install the daemon by cloning the Privsepd git-repository and running make install

```
$ git clone https://github.com/rootnet/privsep.git
$ cd privsep
$ make
$ sudo make install
```

Optional run the tests Test require root because of testing privilege revocation

```
$ sudo make test
```

Uninstall the daemon

```
$ sudo make uninstall
```

Clean up after yourself

```
$ make clean
```

Application installation
------------------------

[](#application-installation)

You can install the application package into your project using [Composer](https://getcomposer.org).

```
composer require rootnet/privsep
```

Usage
=====

[](#usage)

For a detailed description of the usage for both the daemon and application see the included man pages.

```
man privsepd
man privsepd.conf
man remote
```

License
=======

[](#license)

See [License](LICENSE.md)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~196 days

Total

3

Last Release

2903d ago

Major Versions

1.0.0 → 2.0.02017-08-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9528165?v=4)[Rootnet](/maintainers/rootnet)[@rootnet](https://github.com/rootnet)

---

Top Contributors

[![mvanduren-rootnet](https://avatars.githubusercontent.com/u/29622447?v=4)](https://github.com/mvanduren-rootnet "mvanduren-rootnet (3 commits)")[![frankvanhest](https://avatars.githubusercontent.com/u/2206481?v=4)](https://github.com/frankvanhest "frankvanhest (1 commits)")[![mrk-j](https://avatars.githubusercontent.com/u/1250622?v=4)](https://github.com/mrk-j "mrk-j (1 commits)")[![tvlooy](https://avatars.githubusercontent.com/u/391674?v=4)](https://github.com/tvlooy "tvlooy (1 commits)")

---

Tags

codeseparating

### Embed Badge

![Health badge](/badges/rootnet-privsep/health.svg)

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

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M138](/packages/mews-purifier)[gregwar/captcha-bundle

Captcha bundle

3684.9M33](/packages/gregwar-captcha-bundle)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25772.0k36](/packages/paragonie-ecc)

PHPackages © 2026

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