Starter kits

Jetstream & breeze

Install

laraboot task add @core/laravel-starterkit-buildpack --format=file -vvv

Dependencies

  • This task requires NodeJS buildpack so make sure you install it along beforehand.

laraboot task add nodejs \
 --imageUri=gcr.io/paketo-buildpacks/nodejs \
 --format=external \
 --prepend

Configure

The configuration for this task is located in buildpack.yml at the root of your project.

laravel-starterkit:
  jetstream:
    enabled: true
    teams: true
    stack: react
  breeze:
    enabled: true
    stack: vue

Considerations

  • When you run the build command on a Laravel application, the resulting OCI image will contain two tasks. One for the laravel application and the other targeting the node process.

  • @laraboot-io/cli does not support multiple tasks for the run command yet so you'll need to specify which one you want to use

    • Pass --pack-params default-process=task to the run command to use your Laravel application (PHP) otherwise the default one is NodeJS.

Last updated

Was this helpful?