Showing 12 posts
Have you ever used a service provider to set a default value for a third-party library? Have you ever done this based on the current request or URL? Have you ever considered doing this inside of middleware instead?
When registering grouped routes using
Route::group(), it's normal to register those nested routes using the
Route facade, but have you ever used the
Code reusability is a big thing to consider when working on larger applications, but have you ever considered using synchronous jobs?