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

Readme

Source
raw.​githubusercontent.​com

LaravelCollective HTML Form Snippets for Sublime Text

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, \Illuminate\Support\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.