PHPackages                             cyvax/privatebin\_php - 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. cyvax/privatebin\_php

ActiveLibrary

cyvax/privatebin\_php
=====================

Privatebin\_PHP is a simple client for PrivateBin written on PHP.

1.1.2(4y ago)34.2k↓100%3MITPHPPHP &gt;=7.1.0

Since Nov 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/cyvax/Privatebin_PHP)[ Packagist](https://packagist.org/packages/cyvax/privatebin_php)[ Docs](https://github.com/cyvax/Privatebin_PHP)[ RSS](/packages/cyvax-privatebin-php/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

[![GitHub License](https://camo.githubusercontent.com/259ea82ce30970d352f49cd9712d4c03aade15bbf4be99b833abb3f1f33c56ea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f63797661782f5072697661746562696e5f5048503f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/259ea82ce30970d352f49cd9712d4c03aade15bbf4be99b833abb3f1f33c56ea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f63797661782f5072697661746562696e5f5048503f7374796c653d666f722d7468652d6261646765)[![version](https://camo.githubusercontent.com/162c09719547bc8cb108b00cfbba8f2e6fd9a5ebbdf81b7b49b877a14a26b6d8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f63797661782f5072697661746562696e5f5048503f6c6162656c3d56455253494f4e267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/162c09719547bc8cb108b00cfbba8f2e6fd9a5ebbdf81b7b49b877a14a26b6d8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f63797661782f5072697661746562696e5f5048503f6c6162656c3d56455253494f4e267374796c653d666f722d7468652d6261646765)[![packagist](https://camo.githubusercontent.com/7113e5b55c5fc5eaa752ef4b8014d04d46de9b6e460f737d0f41513cb1be00f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63797661782f7072697661746562696e5f7068703f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/7113e5b55c5fc5eaa752ef4b8014d04d46de9b6e460f737d0f41513cb1be00f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63797661782f7072697661746562696e5f7068703f7374796c653d666f722d7468652d6261646765)[![Packagist PHP Version Support](https://camo.githubusercontent.com/1058f715690fd1e27e422da06692b8372d2a62703a9f78bbd999a86009d74b7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f63797661782f7072697661746562696e5f7068703f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/1058f715690fd1e27e422da06692b8372d2a62703a9f78bbd999a86009d74b7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f63797661782f7072697661746562696e5f7068703f7374796c653d666f722d7468652d6261646765)[![Codacy grade](https://camo.githubusercontent.com/ba58ae0fdc6af5d3709a06b2e3f0bbf272c94178402c086cf98d1bc51065c406/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f31336262633862653064313334313830623832323166303134616635306537343f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/ba58ae0fdc6af5d3709a06b2e3f0bbf272c94178402c086cf98d1bc51065c406/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f31336262633862653064313334313830623832323166303134616635306537343f7374796c653d666f722d7468652d6261646765)

Privatebin\_PHP
---------------

[](#privatebin_php)

Privatebin\_PHP is api for [PrivateBin](https://github.com/PrivateBin/PrivateBin/) written on PHP.

Installing
----------

[](#installing)

composer require cyvax/privatebin\_php

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

[](#dependencies)

[Tuupola Base58](https://github.com/tuupola/base58) : a Base58 encoder by Tuupola

Usage
-----

[](#usage)

By default Privatebin\_PHP configured to use `https://paste.i2pd.xyz/` for sending and receiving pastes.

You can parse config to a PrivatebinPHP object.

Example :
fast one with options passed as argument on creation :

```
use Cyvax\PrivatebinPHP;

$private =new PrivatebinPHP(array(
    "url" => "https://privatebin.net/",
    "text" => "Because ignorance is bliss!",
));
$posted = $private->encode_and_post();
```

It will send string `Because ignorance is bliss!` to [PrivateBin](https://privatebin.net/).

Check [Wiki](https://github.com/cyvax/Privatebin_PHP/wiki) for documentation.

License
-------

[](#license)

This project is licensed under the MIT license, which can be found in the file [LICENSE](https://github.com/cyvax/Privatebin_PHP/blob/master/LICENSE) in the root of the project source code.

###  Health Score

30

—

LowBetter than 67% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.2% 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 ~125 days

Total

3

Last Release

1708d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b07a7ada85068a830e9cba42019f0d0e9674124216cf491b8f3269bdd0b8e88d?d=identicon)[cyvax](/maintainers/cyvax)

---

Top Contributors

[![cyvax](https://avatars.githubusercontent.com/u/27162110?v=4)](https://github.com/cyvax "cyvax (30 commits)")[![nhoag](https://avatars.githubusercontent.com/u/1390106?v=4)](https://github.com/nhoag "nhoag (11 commits)")

---

Tags

privatebin

### Embed Badge

![Health badge](/badges/cyvax-privatebin-php/health.svg)

```
[![Health](https://phpackages.com/badges/cyvax-privatebin-php/health.svg)](https://phpackages.com/packages/cyvax-privatebin-php)
```

PHPackages © 2026

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