sukohi/form-error

A Laravel package to easily display errors from validator.
10
Install
composer require sukohi/form-error
Latest Version:2.0.1
Laravel:5
License:MIT
Last Updated:Mar 26, 2016
Links: GitHub  ·  Packagist
Maintainer: Sukohi

FormError

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

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

399,241,428 4,660

Version History

Version Released Laravel License
2.0.1 ~5.0 MIT
2.0.0 ~5.0