weblabormx/tall-utils
最新稳定版本:1.1.5
Composer 安装命令:
composer require weblabormx/tall-utils
包简介
README 文档
README
A package of traits, wrappers and helpers to solve common PHP/TALL workflow day-to-day struggles.
Installation
You can install this package using Composer:
composer require weblabormx/tall-utils
Usage
List of classes available:
Enums
\WeblaborMx\TallUtils\Enums\WithSelectInput:
- Adds a
keyValue()static function to format your Enum cases in[$value => label()]. - Adds an
options()static function to output a<options>HtmlStringdirectly to your blade.
Models
WeblaborMx\TallUtils\Models\WithActivityLog:
- Opinionated default options for Activity Log.
WeblaborMx\TallUtils\Models\WithFilters:
- Adds a
filterBy()scope with a custom filtering system based on array options. - Check the example
Livewire
WeblaborMx\TallUtils\Livewire\WithConstants:
- Adds a
$constantsarray, to pass the name of variables that shouldn't be changed after the first request.
WeblaborMx\TallUtils\Livewire\WithFilters:
- Optional livewire trait to pair with
WeblaborMx\TallUtils\Models\WithFilters.
WireUI
- Adds
notify()anddialog()functions inspired by Laravel Flash to use the WireUI components between requests.
统计信息
- 总下载量: 3.67k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-09-05