Skip to content

A ready-to-use CI/CD Pipeline and jobs for Laravel projects.

License

Notifications You must be signed in to change notification settings

fluent-ci-templates/laravel-pipeline

Repository files navigation

Laravel Pipeline

fluentci pipeline deno module deno compatibility dagger-min-version

A ready-to-use Pipeline for your Laravel projects.

🚀 Usage

Run the following command in your project:

fluentci run laravel_pipeline

Or, if you want to use it as a template:

fluentci init -t laravel

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

dagger run fluentci .

Environment variables

Variable Description Default
MARIADB_USER The username for the MariaDB database user
MARIADB_PASSWORD The password for the MariaDB database password
MARIADB_ROOT_PASSWORD The root password for the MariaDB database root

Dagger Module

Use as a Dagger module:

dagger mod install github.com/fluent-ci-templates/laravel-pipeline@mod

Jobs

Job Description
test Run tests
test(src?: Directory | string): Promise<string>

Programmatic usage

You can also use this pipeline programmatically:

import { test } from "jsr:@fluentci/laravel";

await test(".");