Return to homepage

Laravel Model Pruning

6 episodes
23 mins

About this course

Database tables filling up? Let's learn how to quickly and automatically remove records with Laravel's native Pruning functionality.

Before Laravel 8.50.0, we'd have to take care of this manually. Now, it's as simple as adding a trait, a query builder, and running an Artisan command.

We'll also dive into what's happening behind the scenes to understand how this works.

Your teacher

Alex Garrett-Smith
Alex Garrett-Smith

Hey, I'm the founder of Codecourse and a full-stack developer of over 10 years.

Want to stay in the loop about new content?
Of course you do.

© 2022 Codecourse Ltd. All Rights Reserved. Born in the UK.