iafilin/eloquenthttpadapter
Eloquent HTTP Adapter lets Laravel developers query HTTP APIs using familiar Eloquent-style models and methods. Define remote resources as models, build requests fluently, and handle responses without writing custom API clients for every integration.
composer update <vendor>/<package>
php artisan vendor:publish --tag=<package-config> # if applicable
php artisan test
parseWheres implementation and its tests. In v1.0.4 the parser’s handling of where values was fixed, so this is the most important area to review first.where value now produce distinct parsed signatures/cache keys.
$a = User::where('status', 'active');
$b = User::where('status', 'inactive');
// Confirm parseWheres($a) !== parseWheres($b)
parseWheres to build stable signatures for Eloquent queries before caching results. With v1.0.4, queries with different where values should no longer collide.null, booleans, dates, arrays used by whereIn, and nested where groups.$query->getBindings() and $query->toSql() to confirm values are represented as expected.where(function ($q) { ... }) and mixed and/or conditions can produce signatures that are order-sensitive or unexpectedly normalized.whereIn lists: Huge value arrays can produce unwieldy signatures. Hash or truncate the final parsed output if it is used in cache keys or logs.parseWheres may inspect the builder rather than the final compiled SQL. Do not assume it captures every database-level condition.How can I help you explore Laravel packages today?