for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
$this->middleware('auth');
}
* Show the application dashboard.
* @return \Illuminate\View\View
public function index()
$this->seo()->setTitle('My Projects');
$this->seo()->setDescription('Here is where you can access all of your projects to log time, create milestones etc.');
$projects = auth()->user()->projects;
return view('home', compact('projects'));