PHPackages                             96qbhy/dvajs - 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. [Templating &amp; Views](/categories/templating)
4. /
5. 96qbhy/dvajs

ActiveLibrary[Templating &amp; Views](/categories/templating)

96qbhy/dvajs
============

dvajs 的 php 服务端渲染实现。

1.0.0(8y ago)57BSD-3-ClauseJavaScript

Since Aug 14Pushed 8y agoCompare

[ Source](https://github.com/96qbhy/dvajs-php)[ Packagist](https://packagist.org/packages/96qbhy/dvajs)[ RSS](/packages/96qbhy-dvajs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

dvajs-php
=========

[](#dvajs-php)

[dvaJs](https://github.com/dvajs/dva) 的 php 服务端渲染实例

特性
--

[](#特性)

- 简单易用：php api 仅两步(new DvaJs and exec render)
- 支持所有 dvajs 的特性(RN相关除外)

项目依赖
----

[](#项目依赖)

1. php 的 `v8js` 扩展，并且版本必须 &gt;= 0.1.3

安装
--

[](#安装)

```
$ composer require 96qbhy/dvajs:dev-master
```

使用示例(临时)
--------

[](#使用示例临时)

### 克隆本项目运行

[](#克隆本项目运行)

```
git clone https://github.com/96qbhy/dvajs-php.git
cd dvajs-php/views
npm install
npm run build
cd ..
composer dumpautoload
php -S localhost:8088
```

完成以上操作后在浏览器访问 `http://localost:8088/example.php` 即可看到效果。

### 在框架中集成

[](#在框架中集成)

#### 在 `laravel` 中集成 `dvajs-php`

[](#在-laravel-中集成-dvajs-php)

> 更多例子请稍等，或者可以给我 PR 。

[dvajs-php](https://github.com/96qbhy/dvajs-php)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 53.1% 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

3190d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0e15ef096c1cef56717d13b05333600e4fb13d2c91ddd0aaffb9a550f2543d3?d=identicon)[qbhy](/maintainers/qbhy)

---

Top Contributors

[![qbhy](https://avatars.githubusercontent.com/u/24204533?v=4)](https://github.com/qbhy "qbhy (26 commits)")[![zpao](https://avatars.githubusercontent.com/u/8445?v=4)](https://github.com/zpao "zpao (11 commits)")[![talyssonoc](https://avatars.githubusercontent.com/u/4325587?v=4)](https://github.com/talyssonoc "talyssonoc (4 commits)")[![stoyan](https://avatars.githubusercontent.com/u/51308?v=4)](https://github.com/stoyan "stoyan (3 commits)")[![jbroadice](https://avatars.githubusercontent.com/u/5153746?v=4)](https://github.com/jbroadice "jbroadice (3 commits)")[![teameh](https://avatars.githubusercontent.com/u/1330668?v=4)](https://github.com/teameh "teameh (1 commits)")[![simodima](https://avatars.githubusercontent.com/u/1193857?v=4)](https://github.com/simodima "simodima (1 commits)")

### Embed Badge

![Health badge](/badges/96qbhy-dvajs/health.svg)

```
[![Health](https://phpackages.com/badges/96qbhy-dvajs/health.svg)](https://phpackages.com/packages/96qbhy-dvajs)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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