PHPackages                             framna-nl/php-library-justfiles - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. framna-nl/php-library-justfiles

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

framna-nl/php-library-justfiles
===============================

Shared recipes for common tooling in PHP projects

07113[1 PRs](https://github.com/lunr-php/justfiles/pulls)

Since Mar 18Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/lunr-php/justfiles)[ Packagist](https://packagist.org/packages/framna-nl/php-library-justfiles)[ RSS](/packages/framna-nl-php-library-justfiles/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Shared recipes for common tooling in PHP projects
=================================================

[](#shared-recipes-for-common-tooling-in-php-projects)

This is a collection of recipes for [just](https://just.systems/), making interactions with common tools in PHP development a bit easier.

clean
-----

[](#clean)

Clean up build artifacts

decomposer \[dev\]
------------------

[](#decomposer-dev)

Install dependencies with [decomposer](github.com/framna-nl-backend/decomposer)

Examples:

```
# Install production dependencies
just decomposer

# Install production + development-only dependencies
just decomposer dev
```

phpcs \[&lt;standard&gt;\] \[&lt;bootstrap file&gt;\] \[&lt;installed\_paths&gt;\]
----------------------------------------------------------------------------------

[](#phpcs-standard-bootstrap-file-installed_paths)

Run `phpcs` to verify the defined coding standard. If no standard is selected it will pick `/var/www/libs/lunr-coding-standard/Lunr/` by default. You can override this with either a `LUNR_CODING_STANDARD` environment variable, or a `default_coding_standard` just variable.

You can specify a `bootstrap file` and/or define custom `installed_paths` if your coding standard needs them.

The recipe will automatically pass `--report-checkstyle=build/logs/checkstyle.xml` to phpcs if it detects that it's run from GitHub Actions.

Examples:

```
# Check against the "PSR12" standard
just phpcs PSR12

# Check against the "Lunr" standard, specify the bootstrap file to use and with installed_paths to set
just phpcs Lunr bootstrap.php third-party/slevomat/
```

phpcbf \[&lt;standard&gt;\] \[&lt;bootstrap file&gt;\] \[&lt;installed\_paths&gt;\]
-----------------------------------------------------------------------------------

[](#phpcbf-standard-bootstrap-file-installed_paths)

Run `phpcbf` to automatically fix code to conform to the defined coding standard. If no standard is selected it will pick `/var/www/libs/lunr-coding-standard/Lunr/` by default. You can override this with either a `LUNR_CODING_STANDARD` environment variable, or a `default_coding_standard` just variable.

You can specify a `bootstrap file` and/or define custom `installed_paths` if your coding standard needs them.

Examples:

```
# Check against the "PSR12" standard
just phpcbf PSR12

# Check against the "Lunr" standard, specify the bootstrap file to use and with installed_paths to set
just phpcbf Lunr bootstrap.php third-party/slevomat/
```

phpcs-sniffs \[&lt;standard&gt;\] \[&lt;bootstrap file&gt;\] \[&lt;installed\_paths&gt;\]
-----------------------------------------------------------------------------------------

[](#phpcs-sniffs-standard-bootstrap-file-installed_paths)

Print the list of Sniffs included in the defined coding standard. If no standard is selected it will pick `/var/www/libs/lunr-coding-standard/Lunr/` by default. You can set a different default with either a `LUNR_CODING_STANDARD` environment variable, or a `default_coding_standard` just variable.

You can specify a `bootstrap file` and/or define custom `installed_paths` if your coding standard needs them.

Examples:

```
# List the Sniffs in the "PSR12" standard
just phpcs-sniffs PSR12

# List the Sniffs in the "Lunr" standard, specify the bootstrap file to use and with installed_paths to set
just phpcs-sniffs Lunr bootstrap.php third-party/slevomat/
```

phpstan \[&lt;level&gt;\] \[&lt;error\_format&gt;\]
---------------------------------------------------

[](#phpstan-level-error_format)

Run `phpstan` to statically analyze the code. You can pass the phpstan level you want to check for as an argument. If no default level is found it will assume level `0`.

Examples:

```
# Run phpstan and use whatever level is configured as the default
just phpstan

# Run phpstan with level 10
just phpstan 10

# Run phpstan with level 10 and set the output format as "prettyJson"
just phpstan 10 prettyJson
```

phpunit \[&lt;testsuite&gt;\]
-----------------------------

[](#phpunit-testsuite)

Run `phpunit` to execute the unit tests. You can optionally pass the name of a testsuite to only run tests included in that testsuite.

The recipe will automatically pass `--log-junit=build/logs/junit.xml --coverage-clover=build/logs/clover.xml`to phpunit if it detects that it's run from GitHub Actions.

Examples:

```
# Run all unit tests
just phpunit

# Run all unit tests in the 'Example' testsuite
just phpunit Example
```

release-notes \[&lt;base&gt;\]
------------------------------

[](#release-notes-base)

Generate release notes based on the git commit log. You can pass a tag name, branch name or commit hash to generate release notes for all changes since then. By default it will take the latest tag.

The recipe expects the first line of the git commit message to follow a specific format:

```
(General|CI|Database|):

```

Release notes are then generated in this order:

1. General (global changes, dependency updates, etc)
2. CI (Changes related to CI workflows, phpunit/phpstan/phpcs fixes, etc)
3. Database (Changes to the database schema/migrations)
4. Remaining changes grouped alphabetically by the '&lt;component&gt;' specified in the commit message

Examples

```
# Generate release notes for all changes since the last tag
just release-notes

# Generate release notes for all changes since tag '1.0.0'
just release-notes 1.0.0
```

reuse-lint
----------

[](#reuse-lint)

Check conformance to `REUSE` with [reuse-tool](https://github.com/fsfe/reuse-tool)

Examples:

```
# Check conformance to REUSE
just reuse-lint
```

sqlfluff \[&lt;paths&gt;\] \[&lt;dialect&gt;\]
----------------------------------------------

[](#sqlfluff-paths-dialect)

Analyze SQL code with [sqlfluff](https://www.sqlfluff.com/).

You can specify the path where sqlfluff should look for files. By default this is `tests/statics/sql`. You can set a different default path by setting a `SQLFLUFF_PATHS` environment variable or a `sqlfluff_paths` just variable.

You can also specify the dialect sqlfluff should use to parse the SQL code. By default this is `mariadb`. You can set a different default dialect by setting a `SQLFLUFF_DIALECT` environment variable or a `sqlfluff_dialect` just variable.

The recipe will automatically pass `--disable-progress-bar` to sqlfluff if it detects that it's run from GitHub Actions.

Examples:

```
# Check test statics against the 'mariadb' dialect
just sqlfluff tests/statics/sql

# Check migrations against the 'sqlite' dialect
just sqlfluff docs/database/updates sqlite
```

sqlfluff-fix \[&lt;paths&gt;\] \[&lt;dialect&gt;\]
--------------------------------------------------

[](#sqlfluff-fix-paths-dialect)

Analyze SQL code with [sqlfluff](https://www.sqlfluff.com/) and automatically fix issues.

You can specify the path where sqlfluff should look for files. By default this is `tests/statics/sql`. You can set a different default path by setting a `SQLFLUFF_PATHS` environment variable or a `sqlfluff_paths` just variable.

You can also specify the dialect sqlfluff should use to parse the SQL code. By default this is `mariadb`. You can set a different default dialect by setting a `SQLFLUFF_DIALECT` environment variable or a `sqlfluff_dialect` just variable.

The recipe will automatically pass `--disable-progress-bar` to sqlfluff if it detects that it's run from GitHub Actions.

Examples:

```
# Check test statics against the 'mariadb' dialect and automatically fix issues
just sqlfluff-fix tests/statics/sql

# Check migrations against the 'sqlite' dialect and automatically fix issues
just sqlfluff-fix docs/database/updates sqlite
```

typos
-----

[](#typos)

Check for spelling mistakes with [typos](https://github.com/crate-ci/typos/)

Examples:

```
# Check for spelling mistakes
just typos
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance58

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d947cb57fe64548b6f9eda414f1add9b39e62200c6f509af20db0119bb8b245?d=identicon)[pprkut](/maintainers/pprkut)

---

Top Contributors

[![pprkut](https://avatars.githubusercontent.com/u/56635?v=4)](https://github.com/pprkut "pprkut (34 commits)")[![brianstoop](https://avatars.githubusercontent.com/u/43063856?v=4)](https://github.com/brianstoop "brianstoop (1 commits)")

---

Tags

cilunrone-flowoss

### Embed Badge

![Health badge](/badges/framna-nl-php-library-justfiles/health.svg)

```
[![Health](https://phpackages.com/badges/framna-nl-php-library-justfiles/health.svg)](https://phpackages.com/packages/framna-nl-php-library-justfiles)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
