Skip to content

chore: update dependencies to latest majors, require PHP 8.3, split docs - #36

Merged
Chemaclass merged 4 commits into
mainfrom
chore/update-deps
Aug 1, 2026
Merged

chore: update dependencies to latest majors, require PHP 8.3, split docs#36
Chemaclass merged 4 commits into
mainfrom
chore/update-deps

Conversation

@Chemaclass

@Chemaclass Chemaclass commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Rebased on top of 0.9.0. Three things: pull every dependency up to its latest major
(which forces PHP >= 8.3), split the README into a docs/ folder, and add the project
Claude Code config.

Dependency update

Package From To
php >=8.2 >=8.3
gacela-project/gacela ^1.19 ^1.21
symfony/http-client ^7.2 ^7.4
friendsofphp/php-cs-fixer ^3.75 ^3.95
phpunit/phpunit ^10.5 ^12.5
rector/rector ^2.0 ^2.5
vimeo/psalm ^6.11 ^6.16
  • PHP >= 8.3 is required by PHPUnit 12 and by the Rector php83 set.
  • phpunit.xml migrated to the 12.5 schema.
  • psalm.xml and rector.php now target PHP 8.3; the php83 set added typed class
    constants in ConfigKey, SendableRange, CallbackUrl and
    InvoiceDependencyProvider.
  • CI matrix is now 8.3 / 8.4 / 8.5 — it previously listed 8.2 twice and never tested a
    version above 8.3.
  • psalm/plugin-phpunit stays on ^0.19: 0.20 requires psalm 7, which is not released.

Docs

The README had grown into a full manual. It now holds a quick start and links; the detail
moved to docs/:

  • docs/getting-started.md — install, configure, run, deploy
  • docs/configuration.md — every LightningConfig setter, defaults, backends.json
  • docs/api.md — routes, payloads, CORS, LNURL error objects
  • docs/architecture.md — modules, layers, request flow, adding a backend
  • docs/development.md — scripts, tests, static analysis, releasing

CHANGELOG.md gets the corresponding Unreleased entries.

Claude Code config

CLAUDE.md (module layout, ConfigKey convention, commands) and .claude/ with tool
permissions plus /check and /module commands.

Test plan

  • composer test-all green: php-cs-fixer, Psalm (errorLevel 1), PHPStan (level max),
    26 tests / 33 assertions, Rector dry-run
  • CI green on PHP 8.3 / 8.4 / 8.5, locked + highest deps

@Chemaclass Chemaclass added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 1, 2026
@Chemaclass Chemaclass self-assigned this Aug 1, 2026
Bump gacela ^1.21, phpunit ^12.5, rector ^2.5, php-cs-fixer ^3.95, psalm ^6.16
and symfony/http-client ^7.4; raise the minimum PHP to 8.3, which PHPUnit 12 and
the Rector php83 set require.

- migrate phpunit.xml to the 12.5 schema
- target PHP 8.3 in psalm.xml and rector.php; typed class constants applied by
  the php83 set
- run CI on PHP 8.3, 8.4 and 8.5 (the matrix listed 8.2 twice)
Move the reference material (configuration, HTTP API, architecture, development)
into docs/ and keep the README to a quick start plus links, so the entry point
stays short while the details have room to grow.
CLAUDE.md documents the Gacela module layout, config-key convention and
commands; .claude/ carries tool permissions and the /check and /module commands.
@Chemaclass Chemaclass changed the title chore: update dependencies to latest majors, require PHP 8.3, add docs chore: update dependencies to latest majors, require PHP 8.3, split docs Aug 1, 2026
The build environment was pinned to 8.2, so composer install could no longer
satisfy the php >=8.3 requirement and the coverage node failed.
@Chemaclass
Chemaclass merged commit 7da595e into main Aug 1, 2026
8 of 9 checks passed
@Chemaclass
Chemaclass deleted the chore/update-deps branch August 1, 2026 21:41
@Chemaclass Chemaclass mentioned this pull request Aug 1, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant