Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Osmose Laravel Package

agog/osmose

Osmose is a Laravel package for elegantly filtering Eloquent queries via dedicated filter classes. Generate filters with an artisan command, define rules in a residue() array, and apply them with sieve() using built-in direct, callback, and relationship drivers.

View on GitHub
Deep Wiki
Context7
3.0.0

First stable release of version 3

PHP 8 support Namespace change for models folder Improved typing on properties and methods

3.0.0-alpha.1

Ready up for prod

3.0.0-beta.3

With massive changes happening over the years in both the PHP and Laravel world, we are rolling out the third version of osmose.

  • Introduced support for PHP 8 (PHP7 will no longer be supported)
  • Changed the default models folder from App to App\Models
  • Improved typing for properties, function parameters and return types
2.1.1

Fixes

  • Fixed bug on the direct filter to check for comma delimiter before querying to ensure the filter only runs when intended
2.1.0

Features

  • Added default model namespace on the osmose method, removing need to publish assets to use the function

Fixes

  • Fixed bug on callback filter executing regardless of whether a query param was passed or not
2.0.3
  • Fixes bug that disabled execution of the bound method due to the absence of a get value
2.0.2
  • Version bump to allow packagist's auto detection
2.0.1
  • Fix callback filter default execution
  • Defaulting to_date to end of day
2.0.0

Fixes

  • Fixed bug on direct filter, trying to access unsupported null request parameters
2.0.0-beta.1

Fixes

  • Fixed bug on callback filter where bounded rules tried accessing unsupported null query parameters
2.0.0-beta.0

Features

  • Adds bound() mnethod to perform compulsory filters on the eloquent models
  • Improves date filtering to allow custom dates to be passed as query parameters
v1.2.0

Features

  • Includes all the features 1.2.0-beta.0 indicated
  • Version bump. Stable release, ready for production
v1.2.0-beta.0

Features

  • Introduced global functions to the osmose package
  • Added osmose() global function that automatically loads eloquent models from the defined filter
v1.1.0

Changes

  • Fixed simple bug that was causing an override of the custom filter object's range property
v1.1.0-alpha.0

Features

  • Added date filter targeting created_at columns in our tables
  • Added publishing of osmose configuration file osmose.php

Changes

  • Changed configuration key from limits to ranges as its more descriptive. Since version 1.0.0 did not offer configuration publishing, this should not break any code from 1.0.0

Dependencies

  • Date filters depend on Carbon dates. This shouldnt be a problem since more recent releases of Laravel already include carbon as a dependency.
v1.0.0

Production ready version of osmose following 1 beta and alpha release

Features

Filter Drivers API Descriptive Rules Internal Osmose Facade

v1.0.0-alpha.1

Releasing osmose without tests after making breaking api changes in preparation for production ready version 1.0.0

v0.1.0
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky