2017 © Pedro Peláez
 

library fancy-sorter

Fancy Sorter is a small library that offers several sorters for specific use classes often known and seen in ecommerce projects that offer clothing products.

image

kellerkinder/fancy-sorter

Fancy Sorter is a small library that offers several sorters for specific use classes often known and seen in ecommerce projects that offer clothing products.

  • Wednesday, June 10, 2015
  • by smioduszewski
  • Repository
  • 5 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Fancy Sorter

Fancy Sorter is a small library that offers several sorters for specific use classes often known and seen in ecommerce projects that offer clothing products., (*1)

That is, sorting sizes like: * jeans (32/30, 34W/30L, …) * clothing (XS, S, M, L, XL, XXL, 3XL, …) * numeric (32, 34, 36, 50, 52, 96, 128, …), (*2)

As well as the possibilty to chained needed sorters together, so the best fit is automatically used., (*3)

Installing Fancy Sorter

The recommended way to install Fancy Sorter is through Composer:, (*4)

composer require kellerkinder/fancy-sorter

Using Fancy Sorter

$sorter = new JeansSizeSorter();
$result = $sorter->sort(['30/32', '32 / 34', '32/ 30', '30W/30L', '32W / 32L']);
// => ['30W/30L', '30/32', '32/ 30', '32W / 32L', '32 / 34']

The Versions

10/06 2015

dev-master

9999999-dev

Fancy Sorter is a small library that offers several sorters for specific use classes often known and seen in ecommerce projects that offer clothing products.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Stefan Matheis

10/06 2015

0.2.1

0.2.1.0

<description>

  Sources   Download

proprietary

The Requires

  • php >=5.5.0

 

The Development Requires

by Stefan Matheis

10/06 2015

0.2.0

0.2.0.0

<description>

  Sources   Download

proprietary

The Requires

  • php >=5.5.0

 

The Development Requires

by Stefan Matheis

05/06 2015

0.1.0

0.1.0.0

<description>

  Sources   Download

proprietary

The Requires

  • php >=5.5.0

 

The Development Requires

by Stefan Matheis