PHPackages                             tomk79/px2-private-memo-utility - 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. tomk79/px2-private-memo-utility

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

tomk79/px2-private-memo-utility
===============================

Pickles 2 で個人メモを書き留める用途に便利な機能を提供します。

0.1.1(3y ago)031MITPHPPHP &gt;=7.3.0

Since Jun 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tomk79/px2-private-memo-utility)[ Packagist](https://packagist.org/packages/tomk79/px2-private-memo-utility)[ RSS](/packages/tomk79-px2-private-memo-utility/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

px2-private-memo-utility
========================

[](#px2-private-memo-utility)

[Pickles 2](https://pickles2.pxt.jp/) で個人メモを書き留める用途に便利な機能を提供します。

Usage - 使い方
-----------

[](#usage---使い方)

### インストール

[](#インストール)

```
composer require tomk79/px2-private-memo-utility;

```

### セットアップ

[](#セットアップ)

```
$conf->funcs->processor->html = [

    /* 〜〜 中略 〜〜 */

    // Private Memo Utility: コンテンツ加工処理
    \tomk79\pickles2\px2PrivateMemoUtility\main::processor( [
        "auto_link_target_blank" => true,
        "hide_referrer" => true,
        "allow_highlight" => true,
    ] ),

    /* 〜〜 中略 〜〜 */
];
```

オプション
-----

[](#オプション)

### auto\_link\_target\_blank

[](#auto_link_target_blank)

a要素に、`target=_blank` を自動的に付与します。

a要素の `href` 属性値が `http://` または `https://` から始まる場合に、 `target=_blank` を付与します。

予め `target` 属性がセットされている a要素には影響しません。

### hide\_referrer

[](#hide_referrer)

a要素、area要素、form要素に、 `rel="noopener noreferrer"` を付与します。

`hide_referrer => target_blank` を設定した場合は、 `target` 属性が `_blank` となっている要素にのみ影響します。

### allow\_highlight

[](#allow_highlight)

[hightlight.js](https://highlightjs.org/) を挿入します。

更新履歴 - Change log
-----------------

[](#更新履歴---change-log)

### tomk79/px2-private-memo-utility v0.1.1 (2023年3月11日)

[](#tomk79px2-private-memo-utility-v011-2023年3月11日)

- `hide_referrer`: 発動条件を修正
- その他、内部コードの細かい修正。

### tomk79/px2-private-memo-utility v0.1.0 (2022年6月18日)

[](#tomk79px2-private-memo-utility-v010-2022年6月18日)

- Initial Release

ライセンス - License
---------------

[](#ライセンス---license)

MIT License

作者 - Author
-----------

[](#作者---author)

- Tomoya Koyanagi
- website:
- Twitter: @tomk79

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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.

###  Release Activity

Cadence

Every ~133 days

Total

3

Last Release

1158d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00ca3b0b7c69b5a8c25bbfb82b305ab94c4fc7458b38df445cbb97acc073875f?d=identicon)[tomk79](/maintainers/tomk79)

---

Top Contributors

[![tomk79](https://avatars.githubusercontent.com/u/584845?v=4)](https://github.com/tomk79 "tomk79 (10 commits)")

---

Tags

pickles2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tomk79-px2-private-memo-utility/health.svg)

```
[![Health](https://phpackages.com/badges/tomk79-px2-private-memo-utility/health.svg)](https://phpackages.com/packages/tomk79-px2-private-memo-utility)
```

PHPackages © 2026

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