v0.9.0
A ready-to-use CI/CD Pipeline for Symfony projects.
Attributes
Includes Deno configuration
Repository
Current version released
7 months ago
Dependencies
other
jsr:@std/flags@0.218.2jsr:@std/fmt@0.218.2/colorsjsr:@std/path@0.218.2jsr:@std/testing@0.218.2/assertsjsr:@tsirysndr/env-js@0.1.2jsr:@tsirysndr/fluent-az-pipelines@0.3jsr:@tsirysndr/fluent-circleci@0.3jsr:@tsirysndr/fluent-codepipeline@0.3jsr:@tsirysndr/fluent-gh-actions@0.3jsr:@tsirysndr/fluent-gitlab-ci@0.5npm:graphql-request@6.1.0npm:graphql@16.8.1npm:lodash@4.17.21npm:node-color-log@11.0.2npm:stringify-tree@1.1.1
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:
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();