1.2.626. Laravel usage

This analysis reports usage of the Laravel framework.

<?php

namespace App\Http\Controllers;

use App\User;
use App\Http\Controllers\Controller;

class UserController extends Controller
{
    /**
     * Show the profile for the given user.
     *
     * @param  int  $id
     * @return Response
     */
    public function show($id)
    {
        return view('user.profile', ['user' => User::findOrFail($id)]);
    }
}

?>

See also Laravel.

1.2.626.1. Specs

Short name

Vendors/Laravel

Rulesets

All, Appinfo, CE

Exakat since

0.11.8

PHP Version

All

Severity

Minor

Time To Fix

Slow (1 hour)

Precision

Very high

Features

framework

Available in

Entreprise Edition, Community Edition, Exakat Cloud