canvass/canvass-laravel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

canvass/canvass-laravel

Composer 安装命令:

composer require canvass/canvass-laravel

包简介

Laravel Service Provider for the Canvass form builder

README 文档

README

A Laravel package to build forms and validate form submissions.

Installation

You can install this package with composer:

composer require canvass/canvass-laravel

The package should automatically register itself.

Migrations

You can publish the database migrations using the following command:

php artisan vendor:publish --provider="CanvassLaravel\CanvassServiceProvider" --tag="migrations"

After the migration has been published you can create the form and field tables by running the migrations:

php artisan migrate

Config

You can publish the config file with:

php artisan vendor:publish --provider="CanvassLaravel\CanvassServiceProvider" --tag="config"

Next Steps

Go to /admin/form to see the Canvass interface to create forms and form fields.

Documentation

You can find more information at the Canvass Core project.

Extending Canvass

You can add new Field types to extend Canvass.

Adding a new Field

  • Add a folder that will have FieldData, FieldType and Validate files
  • Add the parent path to Forge:
\Canvass\Forge::addFieldPath('/the/file/path', '\The\Namespace\Path');
  • Add a view file for the type in:
laravel-dir/resources/views/vendor/canvass/form_field/partials/types

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固