承接 sukohi/form-error 相关项目开发

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

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

sukohi/form-error

Composer 安装命令:

composer require sukohi/form-error

包简介

A Laravel package to easily display errors from validator.

README 文档

README

A Laravel package to easily display errors from validator.

Installation

Execute composer command.

composer require form-error:2.*

Set the service provider in app.php

'providers' => [
    ...Others...,  
    Sukohi\FormError\FormErrorServiceProvider::class,
]

Preparation

php artisan vendor:publish

Now you have a view called form_error in resources/views/vendor/sukohi/for-error.
So you can customize this view as you want.

Usage

{!! Form::open() !!}

    {!! Form::text('email') !!}
    {!! form_error('email') !!} <-- Here. The argument is name of input data.
    {!! Form::submit('Submit') !!}
    
{!! Form::close() !!}

License

This package is licensed under the MIT License. Copyright 2016 Sukohi Kuhoh

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-03-26