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 14K
  • Win 9K
  • OS X 2K
  • Linux 3K
Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28
Windows 11 20 9 10 10 9 19 19 17 20 10 11 15 14 17 15 17 23 27 11 15 13 16 10 12 14 18 23 13 14 10 6 20 11 20 21 18 15 12 15 15 19 10 20 9 11
OS X 1 1 3 4 1 2 2 4 0 0 0 4 5 3 2 0 0 2 3 2 1 4 6 1 2 2 7 2 5 7 0 5 4 2 4 4 6 2 6 2 1 2 0 1 1 2
Linux 3 5 1 2 8 7 5 5 2 3 3 3 4 7 5 4 2 6 8 2 4 6 10 6 2 3 4 8 6 3 2 2 5 1 6 9 5 5 1 2 8 9 7 5 1 2

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.