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
Laravel Builder Macros

Laravel Builder Macros Laravel Package

signifly/laravel-builder-macros

Extend Laravel's query builder with handy macros for common query patterns. signifly/laravel-builder-macros reduces boilerplate and makes database queries cleaner, more expressive, and easier to write. Simple to install and drop into existing Laravel projects.

View on GitHub
Deep Wiki
Context7

A set of useful Laravel builder macros.

Frequently asked questions about Laravel Builder Macros
What is signifly/laravel-builder-macros?
signifly/laravel-builder-macros is a Laravel Composer package that provides a set of useful macros for extending Laravel's query builder. Its goal is to reduce boilerplate and make common query patterns cleaner, more expressive, and easier to write. Review the repository README or source for the exact macro list and signatures.
How do I install signifly/laravel-builder-macros?
Install it through Composer with composer require signifly/laravel-builder-macros. The package is described as a native Laravel package that follows Laravel package conventions, including service provider and auto-discovery patterns. Confirm the Laravel and PHP constraints in its composer.json before adding it to a production application.
Does signifly/laravel-builder-macros support Laravel 10?
Version 2.0.0 is labeled 'Prepare for Laravel 10', which strongly suggests Laravel 10 support or compatibility work. However, the one-line release note does not confirm the exact illuminate/* constraint or what changed beyond the version bump. Verify the package composer.json and release notes before assuming full Laravel 10 support.
Can I use signifly/laravel-builder-macros on Laravel 8 or Laravel 9?
That depends on the package version, because v2.0.0 is a major release prepared for Laravel 10. The provided release note does not state whether Laravel 8 and 9 support was dropped outright or whether Laravel 10 support was added while keeping older lines. If you are still on Laravel 8 or 9, check whether v1.x remains compatible and maintained before upgrading.
What PHP version does signifly/laravel-builder-macros require?
The provided context does not state the package's minimum PHP version. Because Laravel 10 requires PHP 8.1, v2.0.0 may require PHP 8.1 or higher either directly or through its Laravel dependency constraints. Check the php constraint in the package composer.json before upgrading.
Is signifly/laravel-builder-macros v2.0.0 a breaking change?
Treat v2.0.0 as breaking until proven otherwise because it is a SemVer major version bump. The release note only says 'Prepare for Laravel 10' and does not document API changes, config changes, removed methods, or dependency updates. Review the changelog, upgrade guide, or diff before updating production applications.
Which query builder macros are included in signifly/laravel-builder-macros?
The package describes itself as a set of useful Laravel builder macros for common query patterns, but the provided context does not list them individually. Check the repository README or source code for the exact macro names, signatures, and expected behavior. Do not assume method names without verifying the installed package version.
Does signifly/laravel-builder-macros require configuration or published assets?
The provided context does not confirm whether the package publishes a config file or other assets. Because it follows Laravel package conventions, check the README for any documented configuration or publish commands. If no configuration is documented, treat it as a macros-only package and avoid assuming config keys exist.
How should I test signifly/laravel-builder-macros in a Laravel app?
Test the macros like other query builder behavior using your normal Laravel testing setup and database assertions. Since macros extend the builder once the package is registered, cover the specific query patterns you rely on and verify expected SQL or bindings where relevant. Run your full test suite after any package upgrade to catch behavioral changes.
Is signifly/laravel-builder-macros maintained, and what are the alternatives?
The context shows a v2.0.0 release prepared for Laravel 10, which is a positive maintenance signal, but it does not include a changelog, support policy, or long-term maintenance commitment. Check the repository's release history and issue activity before relying on it in production. Alternatives include writing your own Laravel query builder macros in a service provider or using broader query-building packages. For a small number of patterns, custom macros may meet your needs with less dependency risk.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource