laravel inserted at manul in insert db code example
Example 1: How to request and display data from db in larave
$users = DB::table('users')->get();
foreach($users as $key => $value)
{
//to get each columns value
//$value->name
}
Example 2: get database name laravel
DB::getDatabaseName();