Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score76%
Downloads48/wk
Published2 years ago (0.8.0)

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

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

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fluentci/symfony

Import symbol

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

Import directly with a jsr specifier

import * as symfony from "jsr:@fluentci/symfony";

Add Package

pnpm i jsr:@fluentci/symfony
or (using pnpm 10.8 or older)
pnpm dlx jsr add @fluentci/symfony

Import symbol

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

Add Package

yarn add jsr:@fluentci/symfony
or (using Yarn 4.8 or older)
yarn dlx jsr add @fluentci/symfony

Import symbol

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

Add Package

vlt install jsr:@fluentci/symfony

Import symbol

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

Add Package

npx jsr add @fluentci/symfony

Import symbol

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

Add Package

bunx jsr add @fluentci/symfony

Import symbol

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