Symfony Pipeline
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:
dagger run fluentci .
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: String!): String
doctrineLint(src: String!): String
phpUnit(src: String!): String
phpcs(src: String!): String
phpstan(src: String!): String
twigLint(src: String!): String
xliffLint(src: String!): String
yamlLint(src: String!): 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.6.1/mod.ts";
await phpcs();
await phpstan();
await twigLint();
await xliffLint();
await yamlLint();
await doctrineLint();
await containerLint();
await phpUnit();