Download the PHP package alex-kalanis/nested-tree-nette without Composer
On this page you can find all versions of the php package alex-kalanis/nested-tree-nette. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alex-kalanis/nested-tree-nette
More information about alex-kalanis/nested-tree-nette
Files in alex-kalanis/nested-tree-nette
Package nested-tree-nette
Short Description PHP Library to process nested tree structures - for Nette
License MIT
Homepage https://www.github.com/alex-kalanis/nested-tree-nette
Informations about the package nested-tree-nette
Nested Tree - for Nette database
Library to work with Nested tree set. Adapter for Nette and its database connection. Extension of Nested tree package.
About
This is connection between Nested tree package and Nette framework. It exists due differences in accessing DB underneath, because Nette has own Database package and layer and not raw PDO.
Requirements
- PHP version 8.1 or higher
- Nette database 3.2
Basic usage
Basic usage is about to same as package. The only difference is in datasource.
DB structure
Basic usage is about to same as package.
Running tests
The package contains tests written in Nette Tester.
tester
- runs all tests
Caveats
As said in package, you must choose if you go with MariaDB or MySQL, because default implementation uses function ANY_VALUE() to go around the problem with non-standard implementation. So you may either use MySQL 5.7+ or disable directive in MariaDB. Or write custom query source which itself will go around this particular problem.