PHPackages                             webikon/webentor-core - 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. webikon/webentor-core

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

webikon/webentor-core
=====================

Webentor Core package

0.15.3(2d ago)1209MITTypeScript

Since Feb 12Pushed 1w ago3 watchersCompare

[ Source](https://github.com/Webikon/webentor-core)[ Packagist](https://packagist.org/packages/webikon/webentor-core)[ Docs](https://webikon.sk)[ RSS](/packages/webikon-webentor-core/feed)WikiDiscussions main Synced today

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

webentor-core
=============

[](#webentor-core)

Reusable Webentor core functionality for PHP and JS runtimes.

Packages
--------

[](#packages)

- Composer: `webikon/webentor-core`
- npm: `@webikon/webentor-core`

Requirements
------------

[](#requirements)

- PHP &gt;= 8.2
- Node &gt;= 20
- pnpm &gt;= 10

Development
-----------

[](#development)

```
composer install
pnpm install
pnpm build
```

JS Package Exports
------------------

[](#js-package-exports)

This package exports raw TypeScript source so the consumer's Vite pipeline compiles it together with the rest of the project. Consumer projects using Vite 7+ must enable the TypeScript-aware config loader:

```
// package.json scripts
"dev": "vite --configLoader runner",
"build": "vite build --configLoader runner"
```

Available subpath imports:

```
import { debounce } from '@webikon/webentor-core';
import { Alpine } from '@webikon/webentor-core/_alpine';
import { SliderComponent } from '@webikon/webentor-core/_slider';
import { WebentorButton } from '@webikon/webentor-core/blocks-components';
import { initResponsiveSettings } from '@webikon/webentor-core/blocks-filters';
import { buildSafelist, webentorDefaultConfig } from '@webikon/webentor-core/config';
import type { WebentorConfig } from '@webikon/webentor-core/types';
```

WP-CLI
------

[](#wp-cli)

Use the responsive attributes migration command on an existing project when you want to scan or migrate block content without opening the WordPress admin.

```
wp webentor migrate-responsive-attributes
wp webentor migrate-responsive-attributes --migrate
wp webentor migrate-responsive-attributes --cleanup
wp webentor migrate-responsive-attributes --site-id=7 --cleanup
```

By default the command only scans and reports how many posts and blocks still need migration or cleanup. `--migrate` writes v2 attributes while keeping legacy keys, and `--cleanup` removes the legacy keys after backfilling the v2 shape. On multisite, `--site-id=` runs the command against a specific site.

Linting
-------

[](#linting)

Core consumes shared presets from `@webikon/webentor-configs` to keep lint behavior aligned across repositories.

###  Health Score

41

↑

FairBetter than 87% of packages

Maintenance99

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity32

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

Recently: every ~3 days

Total

14

Last Release

2d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0bfe67978507afe8e3c682d2b880488e2ce355bbe17d75a83a4cda2fda06565e?d=identicon)[cabandev](/maintainers/cabandev)

---

Top Contributors

[![palicko](https://avatars.githubusercontent.com/u/4531209?v=4)](https://github.com/palicko "palicko (43 commits)")

### Embed Badge

![Health badge](/badges/webikon-webentor-core/health.svg)

```
[![Health](https://phpackages.com/badges/webikon-webentor-core/health.svg)](https://phpackages.com/packages/webikon-webentor-core)
```

###  Alternatives

[baidubce/bce-sdk-php

BCE SDK for PHP

152.6k2](/packages/baidubce-bce-sdk-php)

PHPackages © 2026

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