jennoramcaj / laravel-support
Rinvex 常用支持助手、合约和特性,这些是各种 Rinvex 包所必需的。内置验证功能,以及基本控制器。
Requires
- php: ^8.0.0
- illuminate/auth: ^9.0.0
- illuminate/bus: ^9.0.0
- illuminate/contracts: ^9.0.0
- illuminate/http: ^9.0.0
- illuminate/routing: ^9.0.0
- illuminate/support: ^9.0.0
- illuminate/validation: ^9.0.0
- jennoramcaj/uniquewith-validator: ^3.4.3
- spatie/laravel-schemaless-attributes: ^2.3.0
- watson/validating: ^7.0.0
Requires (Dev)
- codedungeon/phpunit-result-printer: ^0.31.0
- phpunit/phpunit: ^9.5.0
- dev-master
- v6.2.1
- v6.2.0
- v6.1.0
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0.0
- v5.0.19
- v5.0.18
- v5.0.17
- v5.0.16
- v5.0.15
- v5.0.14
- v5.0.13
- v5.0.12
- v5.0.11
- v5.0.10
- v5.0.9
- v5.0.8
- v5.0.7
- v5.0.6
- v5.0.5
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v4.3.1
- v4.3.0
- v4.2.1
- v4.2.0
- v4.1.1
- v4.1.0
- v4.0.7
- v4.0.6
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.1.1
- v2.1.0
- v2.0.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- v0.0.1
- dev-develop
This package is auto-updated.
Last update: 2024-09-06 14:47:09 UTC
README
Rinvex common 支持助手、合约和特性,这些是各种 Rinvex 包所必需的。内置验证功能,以及基本控制器。
注意:此包仅是其他 Rinvex 包的支持包,可能单独使用时没有用处,但它包含一些互补的通用功能,也可能不遵守 SemVer 并破坏向后兼容性。
安装
使用 composer require rinvex/laravel-support 安装
Laravel v9 注意事项
此包需要 felixkiss/uniquewith-validator 依赖项,该依赖项目前与 Laravel v9 不兼容!但是,作为临时解决方案,请将 Laravel Shift 的分支添加到项目根目录 composer.json 的 repositories 属性中
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/laravel-shift/uniquewith-validator.git"
}
]
}
用法
支持助手
intend()
intend 方法返回重定向响应
intend([ 'route' => 'route.name.here', 'withErrors' => ['error.message.id' => 'A custom error message'], ]);
注意:此助手接受
redirect方法作为其输入键,例如withErrors、with、back和route等。
mimetypes()
mimetypes 方法获取有效的 MIME 类型
$mimetypes = mimetypes();
timezones()
timezones 方法获取有效的时间区域
$timezones = timezones();
变更日志
有关项目的完整历史记录,请参阅 变更日志。
支持
以下支持渠道随时可供您使用
贡献与协议
感谢您考虑为此项目做出贡献!贡献指南可在 CONTRIBUTING.md 中找到。
欢迎提交错误报告、功能请求和拉取请求。
安全漏洞
如果您在此项目中发现安全漏洞,请发送电子邮件至 help@rinvex.com。所有安全漏洞都将得到及时处理。
关于 Rinvex
Rinvex 是一家成立于2016年6月的软件解决方案初创公司,专注于为中小企业提供集成企业解决方案。我们相信,我们的驱动因素“价值、范围和影响”是我们与众不同的地方,通过软件的力量释放我们哲学的无限可能性。我们喜欢称之为“生活的速度创新”。这就是我们为推进人类文明做出贡献的方式。
许可证
此软件根据 MIT 许可证 (MIT) 发布。
(c) 2016-2022 Rinvex LLC,部分权利保留。