承接 zhanang19/form-component 相关项目开发

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

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

zhanang19/form-component

Composer 安装命令:

composer require zhanang19/form-component

包简介

This package will provide a form component as Laravel Component.

README 文档

README

Featured image

This is a packages that provides form component supporting modern CSS Framework. This work was inspired from nafiesl/FormField

Installation

Install this package through Composer by running command composer require zhanang19/form-component

Configuration

  • This package come with 2 form theme from Bootstrap and Bulma
  • You must publish config by running php artisan vendor:publish --provider="Zhanang19\FormComponent\FormComponentServiceProvider" --tag=config to setup form theme
  • You can optionally publish views by running php artisan vendor:publish --provider="Zhanang19\FormComponent\FormComponentServiceProvider" --tag=config. This is useful when you want to add your own theme or customize default theme

Usage

  • Basic usage Type this on your blade view:

    <x-form-input name="first_name" />

    Will generate:

    <div class="form-group">
        <label for="" class="control-label">First Name</label>
        <input type="text" name="first_name" class="form-control">
    </div>
  • Advanced usage

    This package automatically merge attributes into form input tag. We also provide some useful slot here. Check Laravel Component Section for more usage.

Todo

  • Add configuration
  • Add unit test (see #1)
  • Add form horizontal layouts in Bulma theme
  • Add form group layouts in Bootstrap theme

Credits

Support

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固