Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
with:
php-version: 8.3
php-version: 8.4

- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -94,8 +94,8 @@ jobs:
fail-fast: false
matrix:
php-version:
- 8.3
- 8.4
- 8.5

env:
COMPOSER_NO_INTERACTION: 1
Expand Down
4 changes: 3 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
[![Latest Unstable Version](https://poser.pugx.org/lychee-org/nestedset/v/unstable.svg)](https://packagist.org/packages/lychee-org/nestedset)
[![License](https://poser.pugx.org/lychee-org/nestedset/license.svg)](https://packagist.org/packages/lychee-org/nestedset)

This is a Laravel 4-10 package for working with trees in relational databases.
This is a Laravel 4-12 package for working with trees in relational databases.

It is a fork of [lazychaser/laravel-nestedset](https://github.com/lazychaser/laravel-nestedset) and contains general patches which are required for using the library with [Lychee](https://github.com/LycheeOrg/Lychee). Note that the patches are **not** specific for Lychee, but a generally useful. Inter alia:

* Routines respect a foreign key constraint on the parent-child-relation by taking care that changes to the tree are applied in the correct order.
* The code does not fail if the model which uses `NoteTrait` does not directly extend `Model` but indirectly inherits `Model` via another parent class.

* **Laravel 12.0 + php8.4-8.5** is supported in v11
* **Laravel 12.0** is supported in v10
* **Laravel 11.0** is supported in v9
* **Laravel 10.0** is supported in v8
* **Laravel 9.0** is supported in v7
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
}
],
"require": {
"php": "^8.3",
"illuminate/support": "^11.0|^12.0",
"illuminate/database": "^11.0|^12.0",
"illuminate/events": "^11.0|^12.0"
"php": "^8.4",
"illuminate/support": "^12.0",
"illuminate/database": "^12.0",
"illuminate/events": "^12.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.3",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpunit/phpunit": "^10.5",
"phpunit/phpunit": "^11.0",
"lychee-org/phpstan-lychee": "^2.0.1",
"larastan/larastan": "^3.2",
"orchestra/testbench": "^9.0"
"orchestra/testbench": "^10.0"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -65,7 +65,7 @@
"prefer-stable": true,
"config": {
"platform": {
"php": "8.3"
"php": "8.4"
},
"preferred-install": "dist",
"sort-packages": true,
Expand Down
Loading