PHPackages                             lenga/engine - 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. lenga/engine

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

lenga/engine
============

Lenga Engine PHP runtime bindings

0.8.0(2mo ago)033[1 PRs](https://github.com/lengaengine/php-engine/pulls)proprietaryPHPPHP ^8.5

Since Apr 9Pushed 2w agoCompare

[ Source](https://github.com/lengaengine/php-engine)[ Packagist](https://packagist.org/packages/lenga/engine)[ RSS](/packages/lenga-engine/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (6)Dependencies (1)Versions (10)Used By (0)

 [![Lenga Engine Logo](https://camo.githubusercontent.com/b26df8a627a2eb3c264d555492689773d6ebecdee2451bdf62d0e7ad96bba807/68747470733a2f2f6c656e6761656e67696e652e636f6d2f696d616765732f6c656e67612d6c6f676f2d786c2e706e67)](https://camo.githubusercontent.com/b26df8a627a2eb3c264d555492689773d6ebecdee2451bdf62d0e7ad96bba807/68747470733a2f2f6c656e6761656e67696e652e636f6d2f696d616765732f6c656e67612d6c6f676f2d786c2e706e67)

Lenga PHP Engine
================

[](#lenga-php-engine)

`lenga/engine` is the PHP gameplay API for the Lenga Engine.

Release history and package-level changes are tracked in [CHANGELOG.md](./CHANGELOG.md).

It provides the PHP-side classes that game scripts use at runtime, including:

- `Behaviour`
- `GameObject`
- `Transform`
- `Input`
- `Time`
- `Preferences`
- 2D and 3D component wrappers
- UI wrappers
- math and collision types

This package is intended to live as a standalone Composer package and be consumed by Lenga projects through normal Composer workflows.

What This Package Is
--------------------

[](#what-this-package-is)

This repository contains the PHP scripting surface that runs inside the Lenga native runtime.

It is the layer that lets developers write gameplay code in modern PHP and interact with the engine through high-level classes instead of raw bridge calls.

Example:

```
