laravel-nestedset
laravel-nestedset copied to clipboard
Effective tree structures in Laravel 4-8
I'm trying to create a nested tree category system in laravel livewire. My livewire component codes: app/Livewire/CategoryTree.php: ```namespace App\Livewire; use Livewire\Component; use App\Models\Category; class CategoryTree extends Component { public $categories;...
105 is the correct answer.. Am I missing something?
Hi, In this pull request, I have added the missing method `getQualifiedForeignKeyName` to handle relationships. This method is essential for packages like `rebing/graphql-laravel` that use it to retrieve the parent...
I've been debugging an issue around creating a parent, and then creating the child node. The issue has been that I get a `No query results for model [App\Models\ExampleModel] 957092`...
PHP Deprecated: Kalnoy\Nestedset\NodeTrait::create(): Implicitly marking parameter $parent as nullable is deprecated, the explicit nullable type must be used instead in /Volumes/Data/Projects/Skincare/backend/vendor/kalnoy/nestedset/src/NodeTrait.php on line 754 PHP Deprecated: Kalnoy\Nestedset\NodeTrait::replicate(): Implicitly marking parameter...
How can I use it with filament it's urgent any hero can help me
This feature introduces support for UUIDs in the `nestedSetWithUuid` macro: ```php Schema::create('table', function (Blueprint $table) { ... $table->nestedSetWithUuid(); }); ``` This feature is tested under the same test cases as...
I have this package installed alongside [spatie/laravel-query-builder](https://github.com/spatie/laravel-query-builder) but trying to include the parent with the request does nothing. I opened a [discussion on the Query Builder](https://github.com/spatie/laravel-query-builder/discussions/1001) side, but it seems...
Hi @lazychaser thanks for this amazing package. I'm using uuid as my primary keys. is there any considerations to take? i looked at the source,columns method inside NestedSet class, and...