🔥 Laravel Tip: Prevent model hydration on Eloquent queries
Nov 18, 2022
If you want to take advantage of Eloquent features (ex: scopes, soft deletes, etc).
But you don't want the query to hydrate models for performance reasons. You can call the `toBase` method on your query.
But you don't want the query to hydrate models for performance reasons. You can call the `toBase` method on your query.
Other tips:
🔥 Laravel Tip: Temporary Signed routes
Apr 2, 2022
🔥 Laravel Tip: Dispatch jobs conditionally.
Apr 11, 2022