PHPackages                             mintware-de/v8world - 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. mintware-de/v8world

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

mintware-de/v8world
===================

A wrapper for the ext-v8js php extension.

v1.0.0(3y ago)013MITPHPPHP ^8.1

Since Nov 27Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

V8 World
========

[](#v8-world)

*A wrapper for the `v8js` extension.*

Why
---

[](#why)

### Without V8 World

[](#without-v8-world)

 ```
graph LR
  PHP-->|Typed|V8js-->|Untyped|JS
  JS-->|Typed|V8js-->|Rarely typed|PHP
```

      Loading ### With V8 World

[](#with-v8-world)

 ```
graph LR
  PHP-->|Typed|V8World-->|Typed|V8js-->|Untyped|JS
  JS-->|Typed|V8js-->|Untyped|V8World-->|Fully Typed*|PHP
```

      Loading *\*: The real instance of objects is still an V8Object but the type hints will help you to reduce possible bugs.*

How?
----

[](#how)

1. The wrapper takes an instance of `\V8Js` + an `$initialState`[1](#user-content-fn-1-7892e4fa733dae7ea26731bcfac6c8c8) class.
2. The phpdoc tells your IDE that the wrapper is an instance of `\V8Js&InitialState`.
3. Your IDE provides autocomplete features and your static analyzer should detect common typing problems.

Example
-------

[](#example)

See [\_docs/example.md](./_docs/example.md).

[![](_docs/images/autocomplete.png)](_docs/images/autocomplete.png)

Important notes
---------------

[](#important-notes)

This package is just a "band-aid for a bullet hole".

- Since `V8World::modify()` will not create a new instance of the `V8Js` object, the old `V8World` is also affected
    - The IDE will not provide autocompletion for the old `V8World` object but for the new one.
- Keep in mind that changing the stubs will not affect the underlying JS code - not even vice versa.
- **Don't trust the stubs if you're working with objects and functions**.
    - If a method returns an object or a property holds an instance of an object, V8Js always return an `\V8Object`
    - If a method returns an function or a property holds an instance of an function, V8Js always return an `\V8Function`

Footnotes
---------

1. Usually this should be a stub interface [↩](#user-content-fnref-1-7892e4fa733dae7ea26731bcfac6c8c8)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1258d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2362734?v=4)[Julian Finkler](/maintainers/Devtronic)[@devtronic](https://github.com/devtronic)

---

Top Contributors

[![devtronic](https://avatars.githubusercontent.com/u/2362734?v=4)](https://github.com/devtronic "devtronic (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mintware-de-v8world/health.svg)

```
[![Health](https://phpackages.com/badges/mintware-de-v8world/health.svg)](https://phpackages.com/packages/mintware-de-v8world)
```

###  Alternatives

[jaeger/querylist-phantomjs

QueryList Plugin: Use PhantomJS to crawl Javascript dynamically rendered pages.(headless WebKit ) 使用PhantomJS采集JavaScript动态渲染的页面

6124.3k1](/packages/jaeger-querylist-phantomjs)

PHPackages © 2026

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