Laravel Model Retive

use App\Models\Flight;

foreach (Flight::all() as $flight) {
    echo $flight->name;
}
Cooperative Crab