Starter kits

Jetstream & breeze

Install

This functionality is provided by core task @core/laravel-starter-kitand hence it must be enabled before using it.

Please have in considerations Jetstream and Breeze might bump their PHP dependencies separetly from the rest of the Laravel framework. If you have the choice always initialize your project using latest PHP version available.

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