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

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.