Nice to Have Features
This document provides an overview of extra features and utilities available in the codebase that can enhance your development experience.Exception Handling
HandlesException Trait
A flexible trait for controlling exception behavior in your classes.throwOnException()- Always throw exceptions (default)continueOnException()- Continue execution without throwingshouldThrow(bool)- Conditionally control throwing behaviorbeforeException(Closure)- Execute callback before handling exception
Conditional Logic
Laravel Conditionable Trait
Leverage Laravel’s built-inConditionable trait for fluent conditional operations.
when($condition, $callback, $default = null)- Execute if condition is truthyunless($condition, $callback, $default = null)- Execute if condition is falsy
Data Transfer Objects
ActivityData & MediaData
Structured data objects for consistent data handling across the application.Export Functionality
DataTableExport
Built-in export capabilities for data tables.These features are designed to make development faster and more consistent across the application. Each can be used independently or combined for more complex functionality.