PHPackages                             oyale/pwpush-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. oyale/pwpush-php

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

oyale/pwpush-php
================

A PHP wrapper to easily push passwords to pwpush.com

0.1.0-beta(4y ago)342[3 issues](https://github.com/oyale/PwPush-PHP/issues)[1 PRs](https://github.com/oyale/PwPush-PHP/pulls)LGPL-3.0-or-laterPHP

Since Jan 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/oyale/PwPush-PHP)[ Packagist](https://packagist.org/packages/oyale/pwpush-php)[ RSS](/packages/oyale-pwpush-php/feed)WikiDiscussions main Synced 3w ago

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

[![PHPUnit](https://github.com/oyale/PwPush-PHP/actions/workflows/php.yml/badge.svg)](https://github.com/oyale/PwPush-PHP/actions/workflows/php.yml) [![Test Coverage](https://raw.githubusercontent.com/oyale/PwPush-PHP/main/badge-coverage.svg)](https://packagist.org/packages/oyale/pwpush-php)[![Semantic Versions](https://camo.githubusercontent.com/5ee5f3f88b97e3908db84dd430ce32386e72f1ac3ae8d5abdbe27e672a9bd27e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2532302532302546302539462539332541362546302539462539412538302d73656d616e7469632d2d76657273696f6e732d6531303037392e737667)](https://github.com/oyale/PwPush-PHP/releases)

PwPush-PHP
==========

[](#pwpush-php)

> A PHP library wrapper to easily push passwords to any [PasswordPusher](https://github.com/pglombardo/PasswordPusher) instance

[![image](https://user-images.githubusercontent.com/2450417/37249539-122d2056-24c8-11e8-860c-ca4609ef4073.png)](https://user-images.githubusercontent.com/2450417/37249539-122d2056-24c8-11e8-860c-ca4609ef4073.png)

Install
-------

[](#install)

```
composer require oyale/pwpush-php
```

Usage
-----

[](#usage)

```
// Push a secret (returns the URL)
PwPush::push(string $secret, ?array $options[] = null, ?string $urlBase = 'https://pwpush.com', ?bool $validate = false);

// Retrieve a secret
PwOps::get(string $token, ?string $urlBase="https://pwpush.com");

# Delete a secret
PwOps::delete(string $token, ?string $urlBase="https://pwpush.com");
```

`PwPush::push` Parameters
-------------------------

[](#pwpushpush-parameters)

### `$secret`

[](#secret)

**Required**.
The secret to be pushed
Type: `string`

### `$options`

[](#options)

Type: `array`
Default value: `server configuration`

### `$urlBase`

[](#urlbase)

URL of PwPush instance
Type: `string`
Default value: `https://pwpush.com`

### `$validate`

[](#validate)

Validate JSON against schema prior to push secret
Type: `bool`
Default value: `false`

### Options

[](#options-1)

`$options` is a key-value array. Valid options are:

#### expire\_after\_days

[](#expire_after_days)

Number of days until the password is deleted.
Type: `integer`
Default value: `server configuration`

#### expire\_after\_views

[](#expire_after_views)

Number of visualizations until the password is deleted.
Type: `integer`
Default value: `server configuration`

#### retrieval\_step

[](#retrieval_step)

Helps to avoid chat systems and URL scanners from eating up views.
Type: `bool`
Default value: `server configuration`

#### deletable\_by\_viewer

[](#deletable_by_viewer)

Allow users to delete passwords once retrieved.
Type: `bool`
Default value: `server configuration`

`PwOps` Parameters
------------------

[](#pwops-parameters)

### `token`

[](#token)

**Required**.
Token for the secret
Type: `string`

### `$urlBase`

[](#urlbase-1)

URL of PwPush instance
Type: `string`
Default value: `https://pwpush.com`

Examples
--------

[](#examples)

You can see a complete workflow example in [examples/workflow.php](examples/workflow.php)

License
-------

[](#license)

[LGPL-3.0](LICENSE)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 85.7% 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 ~0 days

Total

2

Last Release

1620d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25091358?v=4)[Pelayo García](/maintainers/oyale)[@oyale](https://github.com/oyale)

---

Top Contributors

[![oyale](https://avatars.githubusercontent.com/u/25091358?v=4)](https://github.com/oyale "oyale (24 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")

---

Tags

password-pusherphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oyale-pwpush-php/health.svg)

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

###  Alternatives

[oat-sa/tao-core

TAO core extension

66143.7k121](/packages/oat-sa-tao-core)[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M18](/packages/pantheon-systems-terminus)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[getdkan/dkan

DKAN Open Data Catalog

387138.7k2](/packages/getdkan-dkan)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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