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
Strategy Bundle

Strategy Bundle Laravel Package

skrip42/strategy-bundle

A PHP bundle implementing the strategy pattern: define interchangeable algorithms, register them with the service container, and resolve the right implementation at runtime by configuration or context. Keeps branching logic decoupled and swappable.

View on GitHub
Deep Wiki
Context7

skrip42/strategy-bundle brings a clean, container-friendly implementation of the Strategy pattern to PHP applications. It lets you encapsulate interchangeable algorithms behind a shared interface and select the right one at runtime, keeping business logic decoupled from the code that decides how to execute it.

  • Pluggable strategies registered through a bundle/service container
  • Runtime selection by configurable key or context
  • Consistent interface contract for all implementations
  • Lightweight design with minimal dependencies
  • Easy integration into existing PHP or Symfony-style projects
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package