Skip to content

Execute PHAR hook installation without an autoloader #248

Closed
@JanWennrichPCSG

Description

@JanWennrichPCSG

Hello everyone,

I'm running CaptainHook in a somewhat "special" environment.
CaptainHook is "installed" as the PHAR file via PHIVE.
The git repository I want to use CaptainHook for, is a plugin for a PHP software.

Therefore my repository/plugin does not have it's own vendor/autoload.php.
The autoloader is buried somewhere deep inside the "parent" software.
Thus I can/want not to specify the path to the autoloader when running php captainhook.phar install.

As I'm using the standalone PHAR version of CaptainHook and do not intend to install CaptainHook plugins/hooks via composer, I was wondering if it is possible to execute the install without an autoloader.

Is this currently possible?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions