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
- Host: GitHub
- URL: https://github.com/gravitano/brackets-laravel-snippets
- Owner: gravitano
- Created: 2014-08-02T09:29:09.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-11T19:56:13.000Z (about 11 years ago)
- Last Synced: 2025-01-20T07:27:09.050Z (4 months ago)
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.