Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.11 KB

installation.md

File metadata and controls

49 lines (32 loc) · 1.11 KB

Installation

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

Requirements

Installation

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

$ composer require phplrt/phplrt

Note: This command installs the entire project, including dependencies that are not required at runtime.

Runtime Only

However, to eliminate unnecessary dependencies, you can use:

$ composer require phplrt/runtime

...and dependencies for development

$ composer require phplrt/compiler --dev

In order to access phplrt classes make sure to include vendor/autoload.php in your file.

<?php

require __DIR__ . '/vendor/autoload.php';