You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I have to admit I know this issue for a while now but I haven't gotten around to fix it.
You can trick the Cap'n by using an empty but existing php file as autoloader or if you want you can use the one buried somewhere in your project by using the --bootstrap option
run captainhook install --bootstrap=my/autoloader.php currently the file has to exist. Even if the PHAR file would work without an external autoloader.
I will fix this ASAP, but for now you have to use the --bootstrap workaround.
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?
The text was updated successfully, but these errors were encountered: