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

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.