承接 marshmallow/nova-input-with-type 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marshmallow/nova-input-with-type

最新稳定版本:v1.0.0

Composer 安装命令:

composer require marshmallow/nova-input-with-type

包简介

A Laravel Nova field.

README 文档

README

alt text

Nova Input with Type Package

Do you ever just wish you can set an input type for the Nova Field you are creating? You need a field with the time type but there is no package available for this. Wait no more! This extremely simple package lets you set you input yourself. 🚨 Please make sure your browser supports the field types you are using!

Version Issues Code Coverage Licence

Installation

You can install the package via composer:

composer require marshmallow/nova-input-with-type

Usage

You can just call the type method on your new field and nothing extra is needed:

use Marshmallow\InputWithType\InputWithType;

InputWithType::make('Started working at')->type('time'),

Methods

We’ve also created some alias methods for you if you don’t want to use the type method. Here are some examples:

text()

InputWithType::make('My field')->text(),

color()

InputWithType::make('My field')->color(),

date()

InputWithType::make('My field')->date(),

datetimeLocal()

InputWithType::make('My field')->datetimeLocal(),

email()

InputWithType::make('My field')->email(),

hidden()

InputWithType::make('My field')->hidden(),

number()

InputWithType::make('My field')->number(),

password()

InputWithType::make('My field')->password(),

range()

InputWithType::make('My field')
		->range()
    ->min(0)
    ->max(10)
    ->step(2),

tel()

InputWithType::make('My field')->tel(),

time()

InputWithType::make('My field')->time(),

url()

InputWithType::make('My field')->url(),

week()

InputWithType::make('My field')
	->week()
	->min('2018-W18')
	->max('2018-W26'),

month()

InputWithType::make('My field')
	->month()
	->min('2018-03'),

search()

InputWithType::make('My field')->search(),

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

composer test

Security

If you discover any security related issues, please email stef@marshmallow.dev instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 3.01k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固