Notable PHP package: PHP Order Array Trait

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2020-06-17

Posted on: 2020-06-17

Viewers: 60 (June 2020)

Categories: Notable Packages

Many applications need to sort information according to criteria. Often that information is stored in associative arrays.

This package provides a trait that can be used to sort any associative array.

It uses a given string for defining the sorting criteria of string values of a given key of the associative array to be sorted.

Read this article to learn more details about how this notable PHP package works.




The package PHP Order Array Trait is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Sort arrays of indexed strings with custom sorting

Here follows in more detail what it does:

This package can be used to sort arrays of indexed strings with custom sorting.

It provides a trait that can be used directly to sort arrays with members that are associative arrays.

The trait takes a string parameter that defines the name of the array key that will be used to sort the elements.

It returns an array sorted based on character order. The sorting order can be changed using a string that defines the order of the characters in the sorting key element.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

1,561,460 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

For more information send a message to info at phpclasses dot org.