Hooks

Laraboot is able to detect hooks by using a folder structure.

Hook support is provided by buildtask @core/hooks

Every file within .laraboot/hooks will be executed just before finish the building Process.

This functionality is provided by two core build tasks and hence must be enabled before using it.

laraboot task add @core/laraboot-hook-before-pack --format=file -vvv
laraboot task add @core/laraboot-packer --format=file -vvv

Last updated