An open API service indexing awesome lists of open source software.

https://github.com/gravitano/brackets-laravel-snippets

Laravel 4.1 snippets for the 'Brackets Snippets' Brackets extension
https://github.com/gravitano/brackets-laravel-snippets

Last synced: 3 months ago
JSON representation

Laravel 4.1 snippets for the 'Brackets Snippets' Brackets extension

Awesome Lists containing this project

README

        

brackets-laravel-snippets
===

Laravel 4.1 snippets for the `Brackets Snippets` Brackets extension

---

## Install

Install [Brackets](http://brackets.io/)

Install [Brackets Snippets](https://github.com/jrowny/brackets-snippets) *( 'File > Extension Manager' )*

Navigate to `~/Library/Application Support/Brackets/extensions/user/jrowny.brackets.snippets/`

1. Add the following json files to `data/`
* `laravel.forms.json`
2. Add the `laravel/` directory to `data/snippets/`
3. Reload Brackets with extensions: `cmd + r`

---

## Usages

##### Forms
l:form:route
{{ Form::open(array('route' => '')) }}
{{ Form::close() }}


l:form:label
{{ Form::label('for', 'Description') }}


l:form:text
{{ Form::text('', Input::old(''), array('placeholder' => '')) }}

l:form:email
{{ Form::email('email', Input::old('email'), array('placeholder' => 'Email')) }}

l:form:password
{{ Form::password('password', array('placeholder' => 'Password')) }}

l:form:submit
{{ Form::submit('', array('class' => '')) }}


## Notes
I'm building this as need for snippets arises, so this will take a while to flush out.