Weave 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

Ruler Laravel Package

ruler/ruler

Ruler is a simple, stateless rules engine for PHP. Define propositions backed by callables, combine them with logical and comparison operators, and evaluate business rules at runtime—no database, no session state, and no configuration required.

View on GitHub
Deep Wiki
Context7

Ruler is a lightweight, framework-agnostic production rules engine for PHP. It lets you express business logic as reusable Rule objects evaluated against a Context of variables, keeping conditional logic out of controllers and services. Rules are stateless and composable, making them easy to test, reuse, and adapt without scattering if statements throughout your codebase.

  • Define rules with built-in operators for comparisons and logical combinations
  • Evaluate rules against a mutable Context of named variables
  • Compose complex conditions from simpler rule objects
  • Extend with custom operators and rule implementations
  • No framework dependency; integrates cleanly into any PHP application
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.
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle