e13 Eloquent Scopes & Mass Assignment

Login to make annotations or mark as watched.

Notes

Login to write notes for this video.

Description

Up next, let's clean up our controller by extracting the logic for fetching an active/inactive customer into a scope. Then, let's use validated data to create our new customers using the create() method.

About this Course

Ready to get started on your path to Laravel Artisan? In this series, we are breaking down all of the basics of Laravel to get you comfortable using the world's most popular PHP framework. Let's get started!

  • Subscribe to the channel