Download the PHP package dcat-x/form-step without Composer

On this page you can find all versions of the php package dcat-x/form-step. 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 form-step

# Form Step

Tests Latest Stable Version Total Downloads PHP Version Laravel Version Dcat Admin Version

**Dcat Admin 分步表单扩展,支持将复杂表单拆分为多个步骤,提升用户填写体验**

功能特性

安装

通过 Composer 安装:

然后在 Dcat Admin 后台启用扩展,或发布资源文件:

使用方法

基本用法

配置选项

自定义完成页面

步骤事件

步骤描述

API 参考

Builder 类

方法 说明
add($title, $callback) 添加步骤
done($title, $callback) 配置完成页面
width($width) 设置容器宽度
padding($padding) 设置内边距
remember($bool) 启用/禁用数据记忆
select($index) 选择初始步骤
shown($script) 注册步骤显示事件
leaving($script) 注册步骤离开事件
count() 获取步骤数量
all() 获取所有步骤

Form 类

方法 说明
setTitle($title) 设置步骤标题
setDescription($desc) 设置步骤描述
setIndex($index) 设置步骤索引
shown($script) 注册当前步骤显示事件
leaving($script) 注册当前步骤离开事件

CompletionPage 类

方法 说明
title($title) 获取/设置标题
contents($content) 设置页面内容
input($key, $default) 获取表单输入数据
getNewId() 获取新创建的记录 ID
form() 获取表单实例

测试

代码风格

更新日志

请查看 CHANGELOG 了解版本更新信息。

贡献指南

请查看 CONTRIBUTING 了解如何参与贡献。

安全漏洞

如果发现安全漏洞,请查看 SECURITY 了解报告方式。

致谢

许可证

MIT License. 请查看 LICENSE 了解更多信息。


All versions of form-step with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
dcat-x/laravel-admin Version ^1.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 dcat-x/form-step contains the following files

Loading the files please wait ...