PHPackages                             solarfield/lightship-bridge-php - 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. solarfield/lightship-bridge-php

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

solarfield/lightship-bridge-php
===============================

v0.4.2(5y ago)07PHP

Since Jun 1Pushed 1y ago2 watchersCompare

[ Source](https://github.com/solarfield/lightship-bridge-php)[ Packagist](https://packagist.org/packages/solarfield/lightship-bridge-php)[ RSS](/packages/solarfield-lightship-bridge-php/feed)WikiDiscussions master Synced 2w ago

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

Lightship Bridge Plugin
=======================

[](#lightship-bridge-plugin)

Automates the sharing of configuration and bootstrap functionality between lightship-php and lightship-js.

Features
--------

[](#features)

- Designed for a PHP back-end, with an HTML + JS front-end
- Uses the [systemjs](https://github.com/systemjs/systemjs) JS module loader
- Automatic generation of `` elements to initialize JS environment and bootstrap
- Automatic import of the current module's `Controller.js`
- PHP API to forward information to JS, including:
    - environment vars
    - plugin registrations
    - model data (as part of the initial HTML output)
    - on-the-fly JS System depCache
- `` elements are deferred, with a single small inline script for the stub
- Overridable methods for `App` level customization of behaviour
- Event dispatch for higher-level extension

Installation
------------

[](#installation)

This plugin requires [systemjs](https://github.com/systemjs/systemjs) version 0.20.x, and assumes that it is accessible via your web app at `$deps/systemjs/systemjs`. e.g. normally at file path `$project/www/__/$deps/systemjs/systemjs`.

1. Register the `LightshipBridge` plugin in your lightship-php app.
2. Create a file at `$project/www/__/libs/js/browser.js`. This file is used to set your SystemJS config settings. It should contain a call to `System.config()`, etc. See the [example file](docs/example-files/browser.js) to get the general idea.
3. Create a file at `$project/www/__/libs/js/index.js`. This is the JS entry point file, and is used to bootstrap your lightship-js app. See the [example file](./docs/example-files/index.js) to get the general idea.

More
----

[](#more)

- [Source](https://github.com/solarfield/lightship-bridge)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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

Every ~937 days

Total

4

Last Release

502d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5580751?v=4)[Mike Caines](/maintainers/mikecaines)[@mikecaines](https://github.com/mikecaines)

---

Top Contributors

[![mikecaines](https://avatars.githubusercontent.com/u/5580751?v=4)](https://github.com/mikecaines "mikecaines (13 commits)")

### Embed Badge

![Health badge](/badges/solarfield-lightship-bridge-php/health.svg)

```
[![Health](https://phpackages.com/badges/solarfield-lightship-bridge-php/health.svg)](https://phpackages.com/packages/solarfield-lightship-bridge-php)
```

###  Alternatives

[digitoimistodude/air-helper

Plugin provides helpful functions and modifications for WordPress projects.

565.8k2](/packages/digitoimistodude-air-helper)

PHPackages © 2026

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