Download the PHP package xaboy/laravel-form-builder without Composer

On this page you can find all versions of the php package xaboy/laravel-form-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-form-builder

laravel-form-builder

MIT xaboy version php version

laravel专用表单生成器,快速生成现代化的form表单。包含复选框、单选框、输入框、下拉选择框等元素以及省市区三级联动、时间选择、日期选择、颜色选择、树型、文件/图片上传等功能。

支持laravel 5.x

如果对您有帮助,您可以点右上角 "Star" 支持一下 谢谢!

本项目还在不断开发完善中,如有建议或问题请在这里提出

安装

配置

  1. 添加下面一行到 config/app.phpproviders 部分:

  2. 发布配置文件与资源

  3. 模板引入依赖资源

    这行的作用是引入编辑器需要的 css,js 等文件,所以你不需要再手动去引入它们。

    如果项目中已包含vueiviewjquery其中任意,可在vendor/form-builder/assets.blade.php文件中手动移除。

    注意 iview版本为2.14.3,vue版本为2.5

  4. 加载表单规则

  5. 表单初始化

    表单会自动添加csrf_token,无需手动设置

说明

  1. 5.4+ 请不要忘记 php artisan storage:link
  2. 如果你使用的是 laravel 5.3 以下版本,请先创建软链接:

示例

https://raw.githubusercontent.com/xaboy/laravel-form-builder/master/demo.jpg

代码

AJAX请求返回类

namespace \LaravelFormBuilder\Json

Form 表单生成类

namespace \LaravelFormBuilder\Form

FormStyle表单样式

Row栅格规则

参考: view row栅格布局

Col栅格规则

参考: view col栅格布局

select,checkbox,radio组件配置options专用方法

以下组件公共方法

组件

namespace \LaravelFormBuilder\Form

多级联动组件

复选框组件

颜色选择组件

日期选择组件

frame组件

hidden组件

数字输入框组件

input输入框组件

单选框组件

评分组件

select选择框组件

滑块组件

开关组件组件

时间选择组件

上传组件

树型组件

树型组件data数据类 TreeData

所有组件生成效果

https://raw.githubusercontent.com/xaboy/laravel-form-builder/master/images/components.png

参考


All versions of laravel-form-builder with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
xaboy/form-builder Version ^1.2.7
laravel/framework Version ^5.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package xaboy/laravel-form-builder contains the following files

Loading the files please wait ....