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

HanakJakub/laravel-additional-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

laravel-additional-command

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages