Skip to main content

🧩 A ready to use CI/CD Pipeline for Symfony Projects

Works with
This package works with Bun
This package works with Node.js
This package works with Deno
JSR Score
76%
Published
3 months ago (0.8.0)

Symfony Pipeline

fluentci pipeline deno module deno compatibility

A ready-to-use CI/CD Pipeline for Symfony projects.

🚀 Usage

Run the following command in your project:

dagger run fluentci symfony_pipeline

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

fluentci init -t symfony

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

fluentci run .

🧩 Dagger Module

Use as a Dagger module:

dagger install github.com/fluent-ci-templates/symfony-pipeline@main

Call a function from the module:

dagger call phpstan --src .
dagger call phpcs --src .

✨ Jobs

Job Description
phpstan Run PHPStan
phpcs Run PHPCS
twigLint Lint Twig templates
xliffLint Lint XLIFF translations
yamlLint Lint YAML files
doctrineLint Lint Doctrine entities
containerLint Lint Parameters and Services
phpUnit Run PHPUnit
containerLint(src: Directory | string = "."): Promise<string>
doctrineLint(src: Directory | string = "."): Promise<string>
phpUnit(src: Directory | string = "."): Promise<string>
phpcs(src: Directory | string = "."): Promise<string>
phpstan(src: Directory | string = "."): Promise<string>
twigLint(src: Directory | string = "."): Promise<string>
xliffLint(src: Directory | string = "."): Promise<string>
yamlLint(src: Directory | string = "."): Promise<string>

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

import { 
  phpcs,
  phpstan,
  twigLint,
  xliffLint,
  yamlLint,
  doctrineLint,
  containerLint,
  phpUnit,
 } from "jsr:@fluentci/symfony";

await phpcs();
await phpstan();
await twigLint();
await xliffLint();
await yamlLint();
await doctrineLint();
await containerLint();
await phpUnit();
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @fluentci/symfony

Import symbol

import * as mod from "@fluentci/symfony";

Add Package

npx jsr add @fluentci/symfony

Import symbol

import * as mod from "@fluentci/symfony";

Add Package

yarn dlx jsr add @fluentci/symfony

Import symbol

import * as mod from "@fluentci/symfony";

Add Package

pnpm dlx jsr add @fluentci/symfony

Import symbol

import * as mod from "@fluentci/symfony";

Add Package

bunx jsr add @fluentci/symfony

Import symbol

import * as mod from "@fluentci/symfony";