Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!
In this lesson, we will display an active parking list with a stop button to end parking.
Want to access all of our courses? (29 h 14 min)
You also get:
Already a member? Login here
There was an endpoint not included with the Laravel API lesson if im not mistaken.
Route::get('parkings', [ParkingController::class,'active']);
public function index() { return ParkingResource::collection(Parking::active()->get()); }
not sure if this is correct or not, in the next lesson for history essentially do the same thing but do Parking::stopped()->get() ?
There was an endpoint not included with the Laravel API lesson if im not mistaken.
public function index() { return ParkingResource::collection(Parking::active()->get()); }
not sure if this is correct or not, in the next lesson for history essentially do the same thing but do Parking::stopped()->get() ?