Search by

atannex / retrive

Atanga1920

Data retrieval layer for Laravel Eloquent models: resource definitions, a fluent retriever, magic finders (getPostBySlug, getPostsByCategory…), request-driven filters, sorts and includes, visibility rules, hierarchy-aware relation filters, search, neighbours, related records and self-invalidating ca

Package info

github.com/atannex/retrive

pkg:composer/atannex/retrive

Statistics

Installs: 90

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.0 2026-10-25 00:44 UTC

This package is auto-updated.

Last update: 2026-10-30 11:14:49 UTC


README

A single place for a Laravel app to fetch its records. For each model you describe once what can be filtered, sorted and included and who may see what, and then fetch records with simple calls such as getPostBySlug or getPostsByCategory. It handles filters from the web address, search, next and previous records, related records and caching that clears itself when data changes.

Install

composer require atannex/retrive