Last active
August 29, 2015 14:20
-
-
Save twintail0x2b8/e4f419054d1bc92e7159 to your computer and use it in GitHub Desktop.
Laravel5 Controller Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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