jakubhanak / laravel-additional-command
该软件包已被弃用且不再维护。未建议替代软件包。
为Laravel框架添加额外的 artisan 命令
1.0.1
2018-05-04 13:07 UTC
Requires
- php: >=7.0
- laravel/framework: >=5.5.0
This package is not auto-updated.
Last update: 2020-08-26 21:23:58 UTC
README
该软件包添加 artisan 命令,用于生成字符串对的组合,且不重复。
安装
在您的终端
composer require jakubhanak/laravel-additional-command
如果您使用的是 Laravel 5.4(不需要 Laravel 5.5 及更高版本),将服务提供者注册到您的 config/app.php 文件
'providers' => [ ... Hanak\ArtisanCommand\ArtisanCommandServiceProvider::class, ];
用法
string:combine
此命令接受输入属性中的字符串数组,并生成字符串对的组合,不重复。
php artisan string:combine {strings}
用法示例。
php artisan string:combine one two three
php artisan string:combine one,two,three
许可
开源软件,许可协议为 MIT 许可证。