phpfit/package-publisher

Publish or copy files from package publishable files to current app dir

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:composer-plugin

1.0.0 2025-08-23 07:59 UTC

This package is not auto-updated.

Last update: 2025-08-23 11:07:45 UTC


README

Composer plugin to get publish files of a package and copy the files from package directory to app directory. This module is for internal system php fit framework usage only. Nothing to do here for app developer.

Installation

composer require phpfit/package-publisher

Usage

Add an extra key on your package composer.json file to target the package publish file base directory:

{
    "...": "...",
    "extra": {
        "phpfit": {
            "publish": "etc/publish"
        }
    },
    "...": "..."
}

Extra name should be phpfit.publish to be identified.

As of example above, all files inside folder {PACKAGE_DIR}/etc/publish will be copied to {APP_DIR}/.

License

The phpfit/package-publisher library is licensed under the MIT license. See License File for more information.