承接 outl1ne/nova-simple-repeatable 相关项目开发

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

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

outl1ne/nova-simple-repeatable

最新稳定版本:3.0.0

Composer 安装命令:

composer require outl1ne/nova-simple-repeatable

包简介

A Laravel Nova simple repeatable rows field.

README 文档

README

Latest Version on Packagist Total Downloads

This Laravel Nova package allows you to create simple horizontal rows of fields that the user can add/remove.

Requirements

  • php: >=8.0
  • laravel/nova: ^5.0

Features

A Laravel Nova simple repeatable rows field.

Screenshots

Form page

Installation

Install the package in to a Laravel app that uses Nova via composer:

composer require outl1ne/nova-simple-repeatable

Usage

use Outl1ne\NovaSimpleRepeatable\SimpleRepeatable;

public function fields(Request $request) {
    SimpleRepeatable::make('Users', 'users', [
        Text::make('First name'),
        Text::make('Last name'),
        Email::make('Email'),
      ])
      ->canAddRows(true) // Optional, true by default
      ->canDeleteRows(true), // Optional, true by default
}

Localization

The translations file can be published by using the following publish command:

php artisan vendor:publish --provider="Outl1ne\NovaSimpleRepeatable\SimpleRepeatableServiceProvider" --tag="translations"

You can then edit the strings to your liking.

Credits

License

Nova Simple Repeatable is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 73
  • Watchers: 5
  • Forks: 55
  • 开发语言: Vue

其他信息

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