Skip to content
This repository was archived by the owner on Apr 17, 2020. It is now read-only.

Latest commit

 

History

History
44 lines (27 loc) · 878 Bytes

README.md

File metadata and controls

44 lines (27 loc) · 878 Bytes

Laravel Artisan Command

This package add artisan command to generate combinations of strings pairs without repetition

Installation

In your terminal:

composer require jakubhanak/laravel-additional-command

If you are on Laravel 5.4 (no need for Laravel 5.5 and higher), register the service provider to your config/app.php file:

'providers' => [
    ...
    Hanak\ArtisanCommand\ArtisanCommandServiceProvider::class,
];

Usage

string:combine

This command accept array of strings to the input attribute and result is combinations of strings in pairs without repetition.

php artisan string:combine {strings}

Example of usage.

php artisan string:combine one two three
php artisan string:combine one,two,three

Licence

Open-sourced software licensed under the MIT license.