Model Laravel odzyskuj

use App\Models\Flight;

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