bartko-s / stefano-tree

Framework agnostic Nested Set (MPTT) implementation for PHP
https://bartko-s.github.io/stefano-tree
BSD 3-Clause "New" or "Revised" License
28 stars 8 forks source link

Add support for user defined node ID #9

Closed bartko-s closed 6 years ago

bartko-s commented 6 years ago

Library supports only auto generated node ID (sequence, auto increment). Add support for user defined id (uuid, ...).

TNAJanssen commented 6 years ago

Do you need help with this, i tried using UUID but it converts it to int

bartko-s commented 6 years ago

@TNAJanssen - I implemented it (develop branch). Can you test it before I release new version?

TNAJanssen commented 6 years ago

@bartko-s We are still in the process of upgrading to PHP7.2, and are stuck on PHP7.0 at the moment so i can't use the 3.x version yet!

bartko-s commented 6 years ago

Library support only php 7.1 and above. Time to upgrade your codebase :)