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

Quazar Laravel Package

yab/quazar

Quazar is a Laravel package for building reusable, testable database queries. It offers a fluent API to define query logic, apply filters and sorting, and keep Eloquent models clean, making complex query requirements easier to organize and maintain.

View on GitHub
Deep Wiki
Context7

An E-Commerce package for Laravel with Grafite CMS. Take control of your content and how you sell it! Products, subscriptions, shipping, downloading and more!

Frequently asked questions about Quazar
What is Quazar and what problem does it solve in Laravel?
Quazar is presented as a Laravel package that turns request parameters into clean, reusable Eloquent query objects. It aims to keep controllers thin by encapsulating filtering, sorting, and relationship loading in configurable query classes with sensible defaults and safe pagination. A separate technical assessment in the provided context also describes it as a commerce domain layer built on Grafite CMS, so confirm which package surface you are evaluating before adoption.
How do I install yab/quazar with Composer?
Run composer require yab/quazar and then follow the package's service provider or config publishing steps if they exist. Because the last release is dated 2017-03-03, expect dependency resolution to fail on a current Laravel and PHP 8.x stack. Test the install in a pinned legacy environment first, and include Grafite CMS if your target is the commerce layer described in the assessment.
Which Laravel and PHP versions does Quazar support?
The provided assessment places the last release in the Laravel 5.3 to 5.5 and PHP 7.0/7.1 window. There is no evidence in the context of support for Laravel 9, 10, or 11, or for PHP 8.x. Treat version support as unverified until you can run composer install and the test suite against your exact framework and PHP versions.
Is Quazar compatible with Laravel 10 or Laravel 11?
Based on the 2017 release date and the assessment's Composer-constraint warning, Quazar is unlikely to install cleanly on Laravel 10 or Laravel 11. The package would need a hard fork and modernization to reach a supported modern baseline. Packagist shows zero dependents, so there is no visible community fork or compatibility evidence to rely on.
Can Quazar replace Eloquent scopes or repository patterns?
Quazar's overview positions it as a query-object layer, which overlaps with Eloquent scopes, repositories, and dedicated filter classes. It can be a reasonable fit when you have complex request-driven filtering and want reusable, testable query objects. It is not a drop-in replacement for a full repository or CQRS pattern, and the assessment warns that modern-stack integration is effectively zero without a fork.
How does Quazar apply request filters, sorting, and relationship includes?
According to the overview, you define query classes that declare allowed filters, sortable fields, and relationship includes, then apply them to an Eloquent builder from request input. The package emphasizes chainable sorting, configurable defaults, and safe pagination without controller boilerplate. Always whitelist allowed filters and sorts and validate request values before passing them into any query layer.
Is Quazar maintained and safe for production use?
The provided assessment rates technical risk high: the last release was 2017-03-03, there are zero Packagist dependents, and Grafite CMS is an inherited dependency with its own staleness. There is no visible security patching path, which is a serious concern for commerce, PII, or payment-adjacent code. Production adoption should require a named owner, a funded maintenance line, and a fork-and-modernize plan.
How do I test Quazar query objects in a Laravel application?
Quazar query objects are described as reusable and testable, so you can exercise them with Laravel's database testing helpers against a sqlite or MySQL test database. Assert the resulting query constraints or records for representative request parameters. On modern PHP versions you may not be able to install the package, so establish a runnable CI baseline before investing in test coverage.
Does Quazar require Grafite CMS?
The technical assessment states that Grafite CMS is a hard prerequisite and that Quazar is built as a commerce domain layer on top of it. That means adopting Quazar also means adopting Grafite CMS's maintenance and security posture. If you are only interested in the query-builder features from the overview, verify whether those features can be used independently before committing.
What are good alternatives to Quazar for Laravel query filtering?
For request filtering and sorting in modern Laravel, evaluate native Eloquent scopes, spatie/laravel-query-builder, or a small in-house query-object layer. For commerce, prefer a maintained package or a current Laravel build with supported payment SDKs and webhook verification. The assessment suggests Quazar is more credible as a domain reference than as a drop-in dependency for a current stack.
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.
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
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect