An opinionated php module for flakelight
Find a file
2025-10-26 14:13:32 +01:00
.forgejo/workflows initial version 2025-10-25 18:27:45 +02:00
apps per php-version phpunit 2025-10-26 01:16:57 +02:00
checks check if vendorHash is up to date 2025-10-26 02:07:13 +02:00
pkgs vendor: no dev, but dev autoload 2025-10-26 02:30:17 +02:00
.gitignore initial version 2025-10-25 18:27:45 +02:00
composer-meta.nix phpunit app 2025-10-25 23:51:49 +02:00
flake.lock initial version 2025-10-25 18:27:45 +02:00
flake.nix initial version 2025-10-25 18:27:45 +02:00
flakelight-php.nix check if vendorHash is up to date 2025-10-26 02:07:13 +02:00
nix-tests.nix initial version 2025-10-25 18:27:45 +02:00
README.md more readme 2025-10-26 14:13:32 +01:00

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