/Light_HtmlPageCopilot

A service to share an HtmlPageCopilot instance in a Light environment.

Primary LanguagePHP

Light_HtmlPageCopilot

2019-08-30 -> 2021-03-15

A service to share an HtmlPageCopilot instance in a Light environment.

This is a Light framework plugin.

This is part of the universe framework.

Install

Using the planet installer via light-cli

lt install Ling.Light_HtmlPageCopilot

Using the uni command.

uni import Ling/Light_HtmlPageCopilot

Or just download it and place it where you want otherwise.

Summary

Services

This plugin provides the following services:

  • html_page_copilot

The html_page_copilot is meant to be used as a singleton service, meaning that a rendering framework and all its participating plugins can/should rely on this service to access the htmlPageCopilot instance.

Note: because all light plugins have easy access to the service container, while it's harder to manually transmit the htmlPageCopilot instance from object to object.

Here is the content of the service configuration file:

html_page_copilot:
    instance: Ling\Light_HtmlPageCopilot\Service\LightHtmlPageCopilotService

History Log

  • 1.0.9 -- 2021-05-31

    • Removing trailing plus in lpi-deps file (to work with Light_PlanetInstaller:2.0.0 api
  • 1.0.8 -- 2021-05-10

    • Fix assets missing.
  • 1.0.7 -- 2021-03-15

    • update planet to adapt Ling.Light:0.70.0
  • 1.0.6 -- 2021-03-05

    • update README.md, add install alternative
  • 1.0.5 -- 2020-12-08

    • Fix lpi-deps not using natsort.
  • 1.0.4 -- 2020-12-04

    • Add lpi-deps.byml file
  • 1.0.3 -- 2019-11-25

    • add dedicated copilot service class
  • 1.0.2 -- 2019-10-18

    • add precision comment
  • 1.0.1 -- 2019-10-18

    • add example in documentation
  • 1.0.0 -- 2019-08-30

    • initial commit