PHPackages                             vektor-inc/vk-css-optimize - 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. vektor-inc/vk-css-optimize

ActiveLibrary

vektor-inc/vk-css-optimize
==========================

WordPress CSS Optimize

0.2.5(1y ago)119.7k↑83.9%[1 PRs](https://github.com/vektor-inc/vk-css-optimize/pulls)GPL-2.0-or-laterPHP

Since Dec 27Pushed 1y ago3 watchersCompare

[ Source](https://github.com/vektor-inc/vk-css-optimize)[ Packagist](https://packagist.org/packages/vektor-inc/vk-css-optimize)[ RSS](/packages/vektor-inc-vk-css-optimize/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (12)Used By (0)

VK CSS Optimize
===============

[](#vk-css-optimize)

概要
--

[](#概要)

使い方
---

[](#使い方)

```
composer require vektor-inc/vk-css-optimize

```

load autoload

```
require_once dirname( __FILE__ ) . '/vendor/autoload.php';

```

PHPUnitテスト
----------

[](#phpunitテスト)

```
npm run phpunit

```

E2Eテスト
------

[](#e2eテスト)

現状単体テストは未実装のため  で行う。

1.  vk-css-optimize のバージョンを 作業中のブランチに指定 例 ) 作業ブランチが test/working-branch の場合 "vektor-inc/vk-css-optimize": "test/working-branch"

```
composer install
wp-env start
npx playwright test --project=chromium --trace on

```

ちなみに npx playwright test --project=chromium --trace on はローカルで試すとおそらく1度落ちるが、 環境の都合なのでもう一度 npx playwright test --project=chromium --trace on すれば通る

---

Change log
----------

[](#change-log)

0.2.5 \[ 不具合修正 \] VK Blocks 1.85 からテーブルのスクロールヒントのCSSが TreeShaking で正しく処理できず、その影響で非表示クラスが効かなくなるなどの不具合が発生するため、見た目の不具合回避のために応急処置として強制的に TreeShaking を無効化

0.2.4 \[ 不具合修正 \] 325 行目の Deprecated: Use of "self" in callables is deprecated を修正

0.2.3 \[ その他 \] FS\_METHOD が ftpext の場合の処理を変更

0.2.2 \[ 不具合修正 \] 391 行目の条件処理修正

0.2.1 \[ 不具合修正 \] テーマ名取得方法 修正

0.2.0 \[ 不具合修正 \] PHP Warning 修正 \[ その他 \] KUSANAGI 対応調整

0.1.0 \[ 仕様変更 \] ハンドルをオプションに保存する処理を廃止 / 変数名変更リファクタリング \[ その他 \] Tree Shaking アップデート 2.2.0

0.0.0 \[ 仕様変更/不具合修正 \] 対象をハンドル名だけに変更したが、古いバージョンの tree shaking が存在すると、そっちが「idがねーぞ！」と Fatal error くらうのでフィルターフック名を変更

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.6% 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 ~106 days

Recently: every ~149 days

Total

7

Last Release

600d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/670d919fa5be975d4cd59efa993eed674283385d205add1a7fd1773c949060b5?d=identicon)[vektor-inc](/maintainers/vektor-inc)

---

Top Contributors

[![kurudrive](https://avatars.githubusercontent.com/u/3272660?v=4)](https://github.com/kurudrive "kurudrive (63 commits)")[![drill-lancer](https://avatars.githubusercontent.com/u/38716787?v=4)](https://github.com/drill-lancer "drill-lancer (25 commits)")[![shimotmk](https://avatars.githubusercontent.com/u/42362903?v=4)](https://github.com/shimotmk "shimotmk (11 commits)")

### Embed Badge

![Health badge](/badges/vektor-inc-vk-css-optimize/health.svg)

```
[![Health](https://phpackages.com/badges/vektor-inc-vk-css-optimize/health.svg)](https://phpackages.com/packages/vektor-inc-vk-css-optimize)
```

PHPackages © 2026

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