packages-larajs-query

Community

Dynamic Eloquent query building

Authormaingocthanhtan96
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies dynamic querying of Eloquent models, allowing for complex filtering, sorting, searching, and relationship inclusion based on request parameters, reducing boilerplate code.

Core Features & Use Cases

  • Dynamic Filtering: Supports a wide range of operators like equals, lessThan, greaterThan, contains, startsWith, endsWith, any, between, relation, not, has, or, and.
  • Advanced Sorting: Enables sorting by attributes, relationships, and relationship counts.
  • Relationship Management: Includes options for including nested relationships with aggregates and filtering relationships.
  • Use Case: An e-commerce API can use this Skill to allow clients to filter products by price range, sort them by rating, and include related review data, all through simple URL parameters.

Quick Start

Apply LaraJS Query to a Category model query using the provided request parameters and allow list.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: packages-larajs-query
Download link: https://github.com/maingocthanhtan96/larajs-docs/archive/main.zip#packages-larajs-query

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.