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

Macro Laravel Package

aimeos/macro

aimeos/macro is a lightweight PHP macro/extension library that lets you add methods at runtime and extend objects and classes without inheritance. Handy for creating fluent APIs, plugin-style features, and flexible customization in Laravel or any PHP project.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables rapid customization of Laravel components (e.g., Collections, Models, Strings) without modifying core code, supporting agile feature development and reducing technical debt.
  • Critical for building extensible SaaS platforms or multi-tenant applications where clients or third-party integrations require isolated, runtime-specific behavior (e.g., custom payment gateways, dynamic workflows).
  • Eliminates "build vs buy" trade-offs by providing a lightweight, battle-tested solution for closure-based code modification, avoiding reinvention of macro systems while maintaining Laravel compatibility.

When to Consider This Package

  • Adopt when your Laravel project demands dynamic runtime extensibility
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.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata