cosmira/soda
cosmira/soda is a lightweight Laravel/PHP package for simple object data access, offering an expressive API to query and manage records. It integrates cleanly with Laravel, reduces boilerplate, and keeps database interactions clear and minimal. Easy to learn and extend.
prefer_continue, redundant else/elseif, logical grouping, and max_return_statements. Use the updated executable documentation examples as your first regression fixtures.max_return_statements.max_return_statements only if your team enforces a return-count policy. Expect fewer findings around fluent predicates, nested argument calls, natural while conditions, prefer_continue, and redundant else/elseif than in the previous release.max_return_statements with a team-agreed threshold. Existing explicit rule selections will continue to work.prefer_continue, enable it for nested executable control flow inside loops. Accept flat positive branches, callback scopes, complete exits, and finalizers as separate cases; do not force continue everywhere.else/elseif, only simplify after a proven unconditional exit. Preserve meaningful mutually exclusive operations and earlier non-exiting branches.while conditions are accepted. Add parentheses when mixing logical families such as && and || without explicit grouping. Use explicit grouping in complex Laravel query-builder/collection predicates.try/finally blocks during cleanup.max_return_statements was removed from the standard gate. If you relied on the gate to enforce it, add the rule explicitly. It reports a literal return count, so avoid treating it as a general complexity metric.prefer_continue is intentionally narrower. Do not add suppressions for flat positive branches, callbacks, complete exits, or finalizers unless you have a separate team convention outside this rule.else/elseif findings now require proven unconditional exits. Review mutating branches and mutually exclusive operations manually before simplifying.&& and ||.How can I help you explore Laravel packages today?