PHPackages                             nbflarum/p2view - 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. nbflarum/p2view

ActiveFlarum-extension[Utility &amp; Helpers](/categories/utility)

nbflarum/p2view
===============

Add \[p2view\] BBcode Flarum posts

151JavaScript

Since Dec 22Pushed 4y agoCompare

[ Source](https://github.com/nbflarum/p2view)[ Packagist](https://packagist.org/packages/nbflarum/p2view)[ RSS](/packages/nbflarum-p2view/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

BBCode Pay to View button
=========================

[](#bbcode-pay-to-view-button)

Add pay to view button to your Flarum posts.

### Install

[](#install)

`composer require jeffchen/p2view`

### Update

[](#update)

`composer update jeffchen/p2view`

### Uninstall

[](#uninstall)

`composer remove jeffchen/p2view`

### Usage

[](#usage)

#### Input:

[](#input)

```
[p2view payto=bloodchen.b amount=100 id=1234 contents="Hello world"]

```

#### Output:

[](#output)

[![image](https://user-images.githubusercontent.com/75124237/125151797-6574cf80-e166-11eb-91e2-c6778c087943.png)](https://user-images.githubusercontent.com/75124237/125151797-6574cf80-e166-11eb-91e2-c6778c087943.png)

### Links

[](#links)

- [Packagist](https://packagist.org/packages/nbflarum/p2view)
- [Github](https://github.com/nbflarum/p2view)
- [Discuss](tbd)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![bloodchen](https://avatars.githubusercontent.com/u/31466551?v=4)](https://github.com/bloodchen "bloodchen (9 commits)")

### Embed Badge

![Health badge](/badges/nbflarum-p2view/health.svg)

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

###  Alternatives

[farhanwazir/laravelgooglemaps

Laravel Google Map package for 5.x. You can use all google map features in laravel.

15542.0k2](/packages/farhanwazir-laravelgooglemaps)

PHPackages © 2026

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