Phplrt can be installed into any PHP application using composer dependency manager.



Phplrt is available as composer repository and can be installed using the following commands in a root of your project:

$ composer require phplrt/runtime
$ composer require phplrt/phplrt --dev

Please note that the phplrt/runtime package is only required to run your application and package phplrt/phplrt is used for assembly and compilation.

The resulting composer.json file might look like this:

    "require": {
        "php": "^8.1",
        "phplrt/runtime": "^3.6"
    "require-dev": {
        "phplrt/phplrt": "^3.6"

What's next?

You can read the simple guide and create your first app.