ralphjsmit/laravel-helpers
Handy helpers for Laravel apps, including a Factory base class with resolveRelationship() for complex factory relations and a simple pipe implementation for passing data through sequential classes without closures. Great for cleaner factories and predictable pipelines.
BooleanAsTimestampCastresolveRelationshipUsing() method– Add Eloquent TimeCast cast to cast values into timestamps like "08:30:00".
->pipeInto() methodPipe, pipe()Pipeablepipeline()$timezone parameter in yesterday() and tomorrow() helpers.daysOfMonth() helper$timezone as second parameter in carbon() and carbonDate()HasFactory to use self instead of static, because this could refer to the wrong model when extending the original model.tomorrow() and yesterday() helpers for CarbonHow can I help you explore Laravel packages today?