laravel tinker methods code example
Example: exposé tinker laravel
// see the count of all users
App\User::count();
// find a specific user and see their attributes
App\User::where('username', 'kamelia')->first();
// find the relationships of a user
$user = App\User::with('posts')->first();
$user->posts;