skyline/direct-components

Direct component access plugin for Skyline CMS Applications

Maintainers

Package info

github.com/tasoftch/skyline-direct-components

pkg:composer/skyline/direct-components

Statistics

Installs: 276

Dependents: 18

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-03-08 03:13:46 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.)