Laravel: How to access raw input during create and update, from a trait?
I am writing a Trait for Laravel eloquent models that enables "promotion" of input elements during create and update. The base trait looks like this: <?php namespace AppTraits; use IlluminateDatabaseEloquentBuilder; trait PromotesInputsDuringCreation { public static function doPromotion($attrs) { if (isset(static::$promotions)…