以下这些live templates
是个人常用的几个
1.bcontainer
<div class="container">
<div class="row">
<div class="col-md-9" role="main">
$CODE$
</div>
</div>
</div>
2.bcss
<link rel="stylesheet" href="/css/bootstrap.css">
3.bsmedia
<div class="media">
<div class="media-left">
<a href="#">
<img class="media-object img-circle" alt="64x64" src="$IMAGE$" style="width: 64px; height: 64px;">
</a>
</div>
<div class="media-body">
<h4 class="media-heading">$NAME$</h4>
$TITLE$
</div>
</div>
4.eapp
@extends('app')
@section('content')
$CONTENT$
@stop
5.errors
@if($errors->any())
<ul class="list-group">
@foreach($errors->all() as $error)
<li class="list-group-item list-group-item-danger">{{ $error }}</li>
@endforeach
</ul>
@endif
6.farea
<!--- $VALUE$ Field --->
<div class="form-group">
{!! Form::label('$NAME$', '$VALUE$:') !!}
{!! Form::textarea('$NAME$', null, ['class' => 'form-control']) !!}
</div>
7.femail
<!--- $VALUE$ Field --->
<div class="form-group">
{!! Form::label('$NAME$', '$VALUE$:') !!}
{!! Form::email('$NAME$', null, ['class' => 'form-control']) !!}
</div>
8.fpass
<!--- $VALUE$ Field --->
<div class="form-group">
{!! Form::label('$NAME$', '$VALUE$:') !!}
{!! Form::password('$NAME$', ['class' => 'form-control']) !!}
</div>
9.fsub
{!! Form::submit('$NAME$',['class'=>'btn btn-primary form-control']) !!}
10.ftext
<!--- $VALUE$ Field --->
<div class="form-group">
{!! Form::label('$NAME$', '$VALUE$:') !!}
{!! Form::text('$NAME$', null, ['class' => 'form-control']) !!}
</div>
11.scfor
$table->foreign('$NAME$')
->references('id')
->on('$VALUE$')
->onDelete('cascade');
最后,仅看个人喜好