nammero/sorterbystrategy

This library demonstrate usage of the Strategy pattern

dev-master 2019-03-12 09:06 UTC

This package is auto-updated.

Last update: 2024-05-12 20:40:00 UTC


README

This library allow to sort an array in ascending or descending order. Implemented by using the Strategy design pattern.

This template has basic configuration for PHPUnit and PHP-CS-Fixer libraries, configured composer.json with PSR-4 namespaces for source code and tests, .gitignore with basic files and directories to exclude them from Git, changelog file and README with cool badges :)

Installation

For creating new project based on this template just execute the following command

$ composer create-project nammero/sorterbystrategy

NOTE: You can add --no-dev right after create-project flag if you don't want to install dev dependencies to your project

Code style fixer

To fix the code style just run the following command

$ composer cs-fix

License

license

This project is released under the terms of the BSD-3-Clause license.

Copyright (c) 2019, Eugene Zadorozhnyy