attla/support
Composer 安装命令:
composer require attla/support
包简介
Collection of resources to improve and extend ways to use laravel.
README 文档
README
🛠️ Collection of resources to improve and extend ways to use laravel.
Installation
composer require attla/support
Usage
Arr examples:
use Attla\Support\Arr as AttlaArr; use Illuminate\Support\Arr; // Convert a value to array AttlaArr::toArray($value); // array Arr::toArray($value); // array // Randomize positions of an array AttlaArr::randomized($value); // array Arr::randomized($value); // array
Str examples:
use Attla\Support\Str as AttlaStr; use Illuminate\Support\Str; use Illuminate\Support\Stringable; AttlaStr::isBase64($value); // bool Str::isBase64($value); // bool (new Stringable($value))->isBase64(); // bool AttlaStr::isHttpQuery($value); // bool Str::isHttpQuery($value); // bool (new Stringable($value))->isHttpQuery(); // bool AttlaStr::isSerialized($value); // bool Str::isSerialized($value); // bool (new Stringable($value))->isSerialized(); // bool
License
This package is licensed under the MIT license © Octha.
统计信息
- 总下载量: 65
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 8
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-22