mirror of
https://codeberg.org/icewind/flakelight-php.git
synced 2026-06-03 09:54:20 +02:00
An opinionated php module for flakelight
- Nix 100%
| .forgejo/workflows | ||
| apps | ||
| checks | ||
| pkgs | ||
| .gitignore | ||
| composer-meta.nix | ||
| flake.lock | ||
| flake.nix | ||
| flakelight-php.nix | ||
| nix-tests.nix | ||
| README.md | ||
flakelight-php
An opinionated php module for flakelight.
Features
The following checks are automatically enabled if your project contains the relevant configuration files:
- php-cs-checker
- psalm
- phpstan
Usage
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-25.05";
flakelight-php = {
url = "git+https://codeberg.org/icewind/flakelight-php.git";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {flakelight-php, ...}:
flakelight-php ./. {};
}
CI Usage
name: "CI"
on:
pull_request:
push:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
# insert cache setup here
- run: nix flake check --keep-going