ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Laravel​Collective HTML Form Snippets

by PHLAK ST2/ST3

Sublime Text 3 snippets for LaravelCollective/html form elements.

Labels laravel, snippets

Details

Installs

  • Total 13K
  • Win 8K
  • OS X 2K
  • Linux 3K
Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3
Windows 9 14 20 13 15 17 25 18 12 27 15 23 27 22 17 23 13 17 14 19 30 19 16 15 15 16 14 12 23 15 21 17 18 13 25 21 23 17 11 15 19 16 24 18 12 12
OS X 0 4 3 8 3 0 2 1 1 2 5 3 3 3 5 2 2 2 3 3 6 2 3 1 4 2 8 3 3 6 3 3 4 4 10 3 5 3 2 3 7 2 2 1 3 0
Linux 0 6 8 2 6 8 7 1 9 5 3 1 3 3 2 8 2 4 3 9 6 2 6 10 3 4 5 6 9 7 0 7 5 4 12 5 10 2 3 5 3 8 11 4 8 7

Readme

Source
raw.​githubusercontent.​com

LaravelCollective HTML Form Snippets

Sublime Text 3 snippets for LaravelCollective/html form elements.

Like this project? Keep me caffeinated by making a donation.

Installation

With Package Control:
  1. In Sublime Text press Ctrl + Shift + P to open the command pallet
  2. Search for Package Control: Install Package and press Enter
  3. In the package list search for LaravelCollective HTML Form Snippets and press Enter to install
With Git:

Clone the repository in your Sublime Text “Packages” directory (~/.config/sublime-text-3/Packages on Linux):

git clone git@github.com:PHLAK/laravelcollective-html-form-snippets.git

Usage

To use these snippets, type the trigger text followed by the Tab key.

Trigger Text Output
formopen {!! Form::open() !!}
formclose {!! Form::close() !!}
formtoken {!! Form::token() !!}
formmodel {!! Form::model($user, []) !!}
formlabel {!! Form::label($for, $text, []) !!}
formtext {!! Form::text($name, $value, []) !!}
formtextarea {!! Form::textarea($name, $value, []) !!}
formpassword {!! Form::password($name, []) !!}
formhidden {!! Form::hidden($name, $value, []) !!}
formemail {!! Form::email($name, $value, []) !!}
formfile {!! Form::file($name, []) !!}
formcheckbox {!! Form::checkbox($name, $value, $checked, []) !!}
formradio {!! Form::radio($name, $value, $checked, []) !!}
formnumber {!! Form::number($name, $value, []) !!}
formdate {!! Form::date($name, \Carbon\Carbon::now(), []) !!}
formselect {!! Form::select($name, $optionsArray, $defaultKey, []) !!}
formselectrange {!! Form::selectRange($name, $min, $max), [] !!}
formselectmonth {!! Form::selectMonth($name, []) !!}
formsubmit {!! Form::submit($text, []) !!}

Contributing

  1. Fork this repo
  2. Make your changes
  3. Submit Pull Request

Changelog

A list of changes can be found on the GitHub Releases page.

Troubleshooting

Please report bugs to the GitHub Issue Tracker.

Copyright

This project is licensed under the MIT License.