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 mod install github.com/fluent-ci-templates/symfony-pipeline@mod

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 "https://pkg.fluentci.io/symfony_pipeline@v0.7.4/mod.ts";

await phpcs();
await phpstan();
await twigLint();
await xliffLint();
await yamlLint();
await doctrineLint();
await containerLint();
await phpUnit();