Download the PHP package alex-kalanis/nested-tree without Composer

On this page you can find all versions of the php package alex-kalanis/nested-tree. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nested-tree

Nested Tree

Build Status Scrutinizer Code Quality Latest Stable Version Minimum PHP Version Downloads License Code Coverage

Library to work with Nested tree set. Rework of Rundiz's library.

About

The PHP nested set model for create/read/update/delete the tree data structure (hierarchy).

It uses combination of nested and adjacency models. Also uses primary and foreign keys as simple integers, so you cannot use composed keys.

Requirements

Basic usage

Basic usage is about to set with corresponding columns in your app and then pass it into the libraries. Next you need to extend to describe your real table. For specific things like more columns you also need to set class. The most code is then set via DI. You can see that in tests.

DB structure

This library need following columns or their equivalents on affected table:

Each column can be set to different name by change in TableSettings class.

Running tests

The master branch includes unit tests. If you just want to check that everything is working as expected, executing the unit tests is enough.

Caveats

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.


All versions of nested-tree with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1.0
ext-pdo Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package alex-kalanis/nested-tree contains the following files

Loading the files please wait ....