Skip to content

Add model-aware Filterable::for() factory - #68

Merged
kettasoft merged 3 commits into
masterfrom
feat/filterable-for
Sep 7, 2026
Merged

Add model-aware Filterable::for() factory#68
kettasoft merged 3 commits into
masterfrom
feat/filterable-for

Conversation

@kettasoft

Copy link
Copy Markdown
Owner

Summary

Add a convenient Filterable::for() factory for creating fully initialized filter instances from Eloquent models or existing query builders.

Changes

  • Support model class names, model instances, and Eloquent builders.
  • Initialize and expose the builder immediately.
  • Preserve existing builder constraints.
  • Derive the model automatically from supplied builders.
  • Support custom requests, facades, and late static binding.
  • Improve fluent builder forwarding for Filterable and Invoker.
  • Document the new factory API.

@kettasoft kettasoft self-assigned this Sep 7, 2026
@kettasoft kettasoft added the feature New feature label Sep 7, 2026
@kettasoft
kettasoft merged commit 29f57d1 into master Sep 7, 2026
1 check passed
@kettasoft
kettasoft deleted the feat/filterable-for branch September 7, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant