Skip to content

Commit 30313f6

Browse files
committed
Added usage documentation and installation instructions placeholder
1 parent c632e9e commit 30313f6

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,40 @@ Prerequisites
1111
- [Laravel Blade Highlighter](https://github.com/Medalink/laravel-blade)
1212

1313

14+
Installation
15+
------------
16+
17+
Installation instructions coming soon...
18+
19+
20+
Usage
21+
-----
22+
23+
To use these snippets, type the trigger text followd by `Tab`.
24+
25+
| Trigger Text | Output |
26+
| ----------------- | ------------------------------------------------------- |
27+
| `formopen` | `{!! Form::open() !!}` |
28+
| `formclose` | `{!! Form::close() !!}` |
29+
| `formtoken` | `{!! Form::token() !!}` |
30+
| `formmodel` | `{!! Form::model($user, []) !!}` |
31+
| `formlabel` | `{!! Form::label($for, $text, []) !!}` |
32+
| `formtext` | `{!! Form::text($name, $value, []) !!}` |
33+
| `formtextarea` | `{!! Form::textarea($name, $value, []) !!}` |
34+
| `formpassword` | `{!! Form::password($name, []) !!}` |
35+
| `formhidden` | `{!! Form::hidden($name, $value, []) !!}` |
36+
| `formemail` | `{!! Form::email($name, $value, []) !!}` |
37+
| `formfile` | `{!! Form::file($name, []) !!}` |
38+
| `formcheckbox` | `{!! Form::checkbox($name, $value, $checked, []) !!}` |
39+
| `formradio` | `{!! Form::radio($name, $value, $checked, []) !!}` |
40+
| `formnumber` | `{!! Form::number($name, $value, []) !!}` |
41+
| `formdate` | `{!! Form::date($name, \Carbon\Carbon\::now(), []) !!}` |
42+
| `formselect` | `{!! Form::select($name, $optionsArray, []) !!}` |
43+
| `formselectrange` | `{!! Form::selectRange($name, $min, $max), [] !!}` |
44+
| `formselectmonth` | `{!! Form::selectMonth($name, []) !!}` |
45+
| `formsubmit` | `{!! Form::submit($text, []) !!}` |
46+
47+
1448
Contributing
1549
------------
1650

0 commit comments

Comments
 (0)