2017 © Pedro Peláez
 

library laravel-bootstrap-forms

Reduce the boilerplate code required to get forms in Laravel to have Bootstrap styling

image

manavo/laravel-bootstrap-forms

Reduce the boilerplate code required to get forms in Laravel to have Bootstrap styling

  • Monday, January 11, 2016
  • by manavo
  • Repository
  • 6 Watchers
  • 20 Stars
  • 11,790 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 4 Open issues
  • 9 Versions
  • 1 % Grown

The README.md

Laravel Bootstrap Forms

Using @stidges' code for bootstrap forms to create a composer package. You can find the original article here: http://blog.stidges.com/post/easy-bootstrap-forms-in-laravel, (*1)

Install

composer require manavo/laravel-bootstrap-forms ~0.1

Configure

Make sure you comment out the existing HtmlServiceProvider (Illuminate\Html\HtmlServiceProvider):, (*2)

<?php
// File (Laravel 4): app/config/app.php
// OR
// File (Laravel 5): config/app.php

return array(
    // ...
    'providers' => array(
        // ...
        // 'Illuminate\Html\HtmlServiceProvider',
        'Manavo\BootstrapForms\BootstrapFormsServiceProvider',
        // ...
    ),
    // ...
);

No change is necessary for the Form Facade., (*3)

Example

{{ Form::open([ 'route' => 'posts.store' ]) }}

    {{ Form::openGroup('title', 'Title') }}
        {{ Form::text('title') }}
    {{ Form::closeGroup() }}

    {{ Form::openGroup('status', 'Status') }}
        {{ Form::select('status', $statusOptions) }}
    {{ Form::closeGroup() }}

{{ Form::close() }}

The Versions

11/01 2016

dev-master

9999999-dev

Reduce the boilerplate code required to get forms in Laravel to have Bootstrap styling

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Philip Manavopoulos

11/01 2016

0.2.0

0.2.0.0

Reduce the boilerplate code required to get forms in Laravel to have Bootstrap styling

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Philip Manavopoulos

02/06 2015

0.1.0

0.1.0.0

Reduce the boilerplate code required to get forms in Laravel to have Bootstrap styling

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Philip Manavopoulos

02/02 2015

0.0.6

0.0.6.0

Reduce the boilerplate code required to get forms in Laravel to have Bootstrap styling

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Philip Manavopoulos

06/01 2015

0.0.5

0.0.5.0

Recude the boilerplate code required to get forms in Laravel to have Bootstrap styling

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Philip Manavopoulos

17/10 2014

0.0.4

0.0.4.0

Recude the boilerplate code required to get forms in Laravel to have Bootstrap styling

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Philip Manavopoulos

13/10 2014

0.0.3

0.0.3.0

Recude the boilerplate code required to get forms in Laravel to have Bootstrap styling

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Philip Manavopoulos

17/09 2014

0.0.2

0.0.2.0

Recude the boilerplate code required to get forms in Laravel to have Bootstrap styling

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Philip Manavopoulos

17/09 2014

0.0.1

0.0.1.0

  Sources   Download

The Requires

  • php >=5.4.0

 

by Philip Manavopoulos