zareismail/costable
A Laravel package that adds cost tracking to Eloquent models through a costable trait, letting you attach and query cost records alongside your existing models. Useful for billing, budgeting, or expense tracking.
1.5.0 and start with the package’s index/report flow that uses buildIndexQuery; this is now the main integration point for search and filtering.buildIndexQuery implementation, report filter configuration, and card definitions.buildIndexQuery rather than adding ad-hoc where clauses in controllers. Call the parent method first, then add your own constraints so package search and auth scoping stay consistent.with() for relationships shown in index tables, reports, and exports. Treat the N+1 fix in 1.5.0 as a baseline, but verify your own custom columns and cards are not introducing new lazy loads.parent::buildIndexQuery() when overriding it; skipping it can break package search, auth scoping, and future fixes.user_id filters.Model::preventLazyLoading() in local/testing to catch N+1 regressions in custom columns, filters, and cards.How can I help you explore Laravel packages today?