承接 boitebeet/nova-steps 相关项目开发

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

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

boitebeet/nova-steps

Composer 安装命令:

composer require boitebeet/nova-steps

包简介

A Laravel Nova tool for steps into forms.

README 文档

README

A wizard form for the Laravel Nova

Table of Contents

Introduction

This package gives you the ability to creating or updating a resource step by step and validating and storing resources on each step.

Installation

To get started with nova-wizard run the below command:

    composer require zareismail/nova-wizard

Resource Configurations

To use, your resource class should implement the Wizard interface. Then for creating each step use the Step class like the following:

    use Zareismail\NovaWizard\Contracts\Wizard; 
    use Zareismail\NovaWizard\Step;


    

    class Supply extends Resource implements Wizard
    { 
        return [  
            (new Step(__('Step One'), [      

                // some fields


            ])->withToolbar()


            new Step('Step Two', [
            ]),

            new Step(__('Step Three'), function() {
                return [
                ];
            }),
        ];
    }

Now; your source automatically displays wizard form to you.

Storing

By default; each step, except the last, will store in the session. if you need to store data into the database after a specific step you should call the Checkpoint method on that step. now, checkpoint step and all steps after it will be store in the DB.

Ignore Wizard On Update

For ignoring wizard-form on the update page, your resource should implement the Zareismail\NovaWizard\Contracts\IgnoreUpdateWizard.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固