skyline/direct-components

Direct component access plugin for Skyline CMS Applications

v8.0.0 2023-02-07 20:25 UTC

This package is auto-updated.

Last update: 2024-11-08 00:14:25 UTC


README

This package allows your application to deliver components.

Installation

$ composer require skyline/direct-components

Usage

With this package you get a directory Components in the SkylineAppData directory.

Files in this directory are linkable from your website under the following condition:

  • Request URI MUST begin with /Public (changeable in configuration)

Please note that this package delivers the sources without any checks.
To enable checks, see further packages available:

  • $ composer require skyline/direct-components-hotlink-protection
    This package registers a plugin that won't deliver components to foreign hosts (hotlink protection)
  • $ composer require skyline/direct-components-cors
    This package restricts to known hosts (you can not combine them because the hotlink protection will deny even if the cors would allow.)