Skip to content

Instantly share code, notes, and snippets.

@twintail0x2b8
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twintail0x2b8/e4f419054d1bc92e7159 to your computer and use it in GitHub Desktop.
Save twintail0x2b8/e4f419054d1bc92e7159 to your computer and use it in GitHub Desktop.
Laravel5 Controller Template
<?php #if (${namespace} == "")
namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
#else
namespace ${namespace}\Http\Controllers;
use ${namespace}\Http\Requests;
use ${namespace}\Http\Controllers\Controller;
#end
use Illuminate\Http\Request;
class ${NAME} extends Controller {
//
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment