Skip to content

Commit b3b65ee

Browse files
committed
laravel-ui-init
1 parent f8c43d0 commit b3b65ee

22 files changed

+63075
-976
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
namespace App\Http\Controllers;
4+
5+
use Illuminate\Http\Request;
6+
7+
class HomeController extends Controller
8+
{
9+
/**
10+
* Create a new controller instance.
11+
*
12+
* @return void
13+
*/
14+
public function __construct()
15+
{
16+
$this->middleware('auth');
17+
}
18+
19+
/**
20+
* Show the application dashboard.
21+
*
22+
* @return \Illuminate\Contracts\Support\Renderable
23+
*/
24+
public function index()
25+
{
26+
return view('home');
27+
}
28+
}

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"php": "^7.2",
1212
"fideloper/proxy": "^4.0",
1313
"laravel/framework": "^6.0",
14-
"laravel/tinker": "^1.0"
14+
"laravel/tinker": "^1.0",
15+
"laravel/ui": "^1.0"
1516
},
1617
"require-dev": {
1718
"facade/ignition": "^1.4",

0 commit comments

Comments
 (0)