Download the PHP package ttree/sortablenode without Composer

On this page you can find all versions of the php package ttree/sortablenode. 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 sortablenode

Ttree.SortableNode

This package provide the logic needed for sorting node in TYPO3.TYPO3CR (TYPO3 Content Repository) by any even multiple properties. The package support multiple sorting strategy (algorithm) and multile configure per NodeType and ParentNode or ParentNode path.

This package is under heavy development, so everything can change, break ... or work as expected.

Configuration

Configuration can be done in any Settings.yaml file:

Ttree:
  SortableNode:
    enabled: FALSE
    defaultSortingStrategy: DumbSortingStrategy
    configuration:
      'Ttree.Plugin.MicroEvent:Event':
        10:
          position:           'start'
          label:              'Main sorting for Event node'
          identifier:         '/sites/website/event'
          strategy:           'DumbSortingStrategy'
          properties:
            # eventStartDate:   ASC
            title:            ASC

The "identifier" can be a node path or a nodedata identifier (not the persistence_object_identifier). The "strategy" can be configured, and you can even add your own strategy if needed. The property "Ttree.SortableNode.enabled" enable automatic sorting of node based on an Aspect triggered after the update or add method from NodeDataRepository.

Currently only the DumbSortingStrategy (and inefficient) strategy is working. More powerful strategy will be added in the future.

A CLI command exist to sort node manually.


All versions of sortablenode with dependencies

PHP Build Version
Package Version
Requires typo3/flow 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 ttree/sortablenode contains the following files

Loading the files please wait ....