Eloquent Internals By Example
laravel Austin August 2019
Ian Littman
/
@iansltx
Doing something a bit different today
Starting from an example
Tracing through code paths
Explaining each piece as we traverse it
Example 1: Soft Deletes
Scopes (global and local)
Modifying the builder
Booting and initialization
Example 2: Route Binding and UUIDs
Route binding
Nonstandard primary keys
Events
Example 3: Audit Logs
Dirty checking
On-save behaviors
On-delete behaviors
QUestions?