PHPackages                             tomk79/px2-peraichize - 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-peraichize

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

tomk79/px2-peraichize
=====================

0.1.0(10mo ago)0130MITPHPPHP &gt;=7.3.0

Since Jul 12Pushed 10mo ago1 watchersCompare

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

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

px2-peraichize
==============

[](#px2-peraichize)

[Pickles 2](https://pickles2.com/)で構築されたウェブサイトのページを、1枚のHTMLページに統合します。

Setup - セットアップ手順
----------------

[](#setup---セットアップ手順)

### [Pickles 2 プロジェクト](https://pickles2.com/) をセットアップ

[](#pickles-2-プロジェクト-をセットアップ)

### 1. `composer.json` に、パッケージ情報を追加

[](#1-composerjson-にパッケージ情報を追加)

```
$ composer require tomk79/px2-peraichize
```

### 2. `px-files/config.php` を開き、プラグインを設定

[](#2-px-filesconfigphp-を開きプラグインを設定)

```
$conf->funcs->before_content = array(
    // PX=peraichize
    tomk79\pickles2\peraichize\register::before_content(array(
        // クライアント用アセットを書き出す先のディレクトリ
        // 省略時: '/fulltext/'
        'path_client_assets_dir' => '/fulltext/',

        // 非公開データの書き出し先ディレクトリ
        // 省略時: '/_sys/peraichize/'
        'path_private_data_dir' => '/_sys/peraichize/',

        // インデックスから除外するパス
        // 複数のパス(完全一致)、または正規表現で定義します。
        // 省略時: 除外しない
        'paths_ignore' => array(
            '/perfect_match_ignored/ignored.html', // 完全一致 による設定例
            '/^\/ignored\/.*$/i', // 正規表現による設定例
        ),

        // コンテンツエリアを抽出するセレクタ
        // 省略時: 'body'
        'contents_area_selector' => '.contents',

        // コンテンツから除外する要素のセレクタ
        // 省略時: 除外しない
        'ignored_contents_selector' => array(
            '.contents-ignored',
        ),
    )),
);
```

### 4. 統合されたHTMLファイルを生成する

[](#4-統合されたhtmlファイルを生成する)

```
$ php ./src_px2/.px_execute.php "/?PX=peraichize.create"
```

管理画面拡張
------

[](#管理画面拡張)

`config.php` に次のような設定を追加します。

```
$conf->plugins->px2dt->custom_console_extensions = array(
    'px2-peraichize' => array(
        'class_name' => 'tomk79\pickles2\peraichize\cce\main()',
    ),
);
```

PXコマンド - PX Commands
--------------------

[](#pxコマンド---px-commands)

### PX=peraichize.create

[](#pxperaichizecreate)

統合されたHTMLファイルを生成する。

変更履歴 - Change Log
-----------------

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

### tomk79/px2-peraichize v0.1.0 (2025年7月12日)

[](#tomk79px2-peraichize-v010-2025年7月12日)

- Initial Release.

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

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

MIT License

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

[](#作者---author)

- (C)Tomoya Koyanagi
- website:
- Twitter: @tomk79

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance58

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

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 ~0 days

Total

2

Last Release

301d 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 (23 commits)")

---

Tags

pickles2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tomk79-px2-peraichize/health.svg)

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

PHPackages © 2026

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