drboboev/sortwords

Sorting words in string

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/drboboev/sortwords

dev-master 2018-11-29 12:54 UTC

This package is auto-updated.

Last update: 2025-12-16 04:39:37 UTC


README

SORTING WORDS

Requirements:

  • PHP 7.1 or higher

Installation:

composer require drboboev/sortwords

Usage:

Add class to your code:

use drboboev\SortWords\SortWords;

Create object:

$sortWords = new SortWords();

Run function sort() with $str as argument:

$string = $sortWords->sort($str);

sort() function returns string with sorted words.