tpetry/laravel-query-expressions
Add powerful SQL expression support to Laravel’s query builder. Compose reusable, type-safe expressions for functions, casts, JSON ops, windows, and more, with clean syntax and cross-database compatibility—ideal for advanced filtering, sorting, and computed columns.
ExtractDatePart to extract the year from a timestampIS NULL and IS NOT NULL conditionsCast language constructAbs mathematical functionUpper and Lower string transformationsCount aggregate has an optional distinct parameterValue class to embed any escaped value into a queryHow can I help you explore Laravel packages today?