Laraboot/Cli
CommunityExtendig
1.0.0
1.0.0
  • Introduction
  • Requirements
  • Getting started
  • F.A.Q
  • Concepts
    • Workspace
    • laraboot.json
    • Build tasks
      • Core tasks
      • Community tasks
  • Usage
    • Create a project
    • Configure
      • Data model
      • Configure
      • Starter kits
      • Views and layouts
    • Build your project
    • Run your project
    • Share your project
  • Build
    • Process
    • Hooks
  • Tutorials
    • Create a laraboot application
    • Collaborative
  • Extending
    • Create a build task
    • Github actions
    • Publish a build task
Powered by GitBook
On this page

Was this helpful?

  1. Build

Hooks

PreviousProcessNextCreate a laraboot application

Last updated 3 years ago

Was this helpful?

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 .

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
Process