2017 © Pedro Peláez
 

library laravel-admin-form

Admin form helper

image

am2studio/laravel-admin-form

Admin form helper

  • Wednesday, December 6, 2017
  • by msamec
  • Repository
  • 10 Watchers
  • 2 Stars
  • 4,002 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 3 % Grown

The README.md

Laravel Admin Form

Latest Version on Packagist ![Software License][ico-license] ![Total Downloads][ico-downloads], (*1)

Install

Via Composer, (*2)

``` bash $ composer require am2studio/laravel-admin-form, (*3)


Register service provider in your `app.php` ```php AM2Studio\LaravelAdminForm\AdminFormServiceProvider::class,

Register the facade in your app.php, (*4)

'AdminForm'  => AM2Studio\LaravelAdminForm\AdminFormFacade::class,

You can use default templates or if you want to use your own templates you can publish views and edit them, (*5)

php artisan vendor:publish --provider="AM2Studio\LaravelAdminForm\AdminFormServiceProvider" --tag=views

Usage

Inside template: ``` php {!! AdminForm::text($name, $value, $options) !!}, (*6)


the list of helpers:

{!! AdminForm::text() !}} {!! AdminForm::number() !}} {!! AdminForm::radio() !}} {!! AdminForm::password() !}} {!! AdminForm::textarea() !}} {!! AdminForm::select() !}} {!! AdminForm::date() !}} {!! AdminForm::checkbox() !}} {!! AdminForm::submit() !}}, (*7)

they all accept same parameters as ```Form::``` helpers

There is another helper method

{!! AdminForm::row($label, $adminFormElement) !!}, (*8)

example

{!! AdminForm::row(trans('ui.first_name'), AdminForm::text('first_name', $user->first_name)) !!}, (*9)

this will render into

, (*10)

First Name
```

Change log

Please see CHANGELOG for more information what has changed recently., (*11)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*12)

Credits

License

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

The Versions

06/12 2017

dev-master

9999999-dev https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

30/10 2017

dev-laravel55

dev-laravel55 https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

30/10 2017

2.0.0

2.0.0.0 https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

30/10 2017

v2.0.1

2.0.1.0 https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

15/06 2016

dev-filip-changes

dev-filip-changes https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

06/06 2016

1.0.6

1.0.6.0 https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

24/03 2016

1.0.5

1.0.5.0 https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

21/03 2016

1.0.4

1.0.4.0 https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

17/03 2016

1.0.3

1.0.3.0 https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

17/03 2016

1.0.2

1.0.2.0 https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

17/03 2016

1.0.1

1.0.1.0 https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form

12/03 2016

1.0.0

1.0.0.0 https://github.com/AM2studio/Laravel-AdminForm

Admin form helper

  Sources   Download

MIT

The Requires

 

am2studio admin form