binaryk/laravel-restify
Laravel Restify is a fast, modular API builder for Laravel. Define repositories to expose Eloquent models with built-in filtering, sorting, pagination, relationships, validation, and authorization—helping you ship clean RESTful APIs with less boilerplate.
attach/sync fail closed when no parent policy exists, meaning relationship writes are denied by default rather than silently allowed. That directly supports any roadmap item involving user-managed associations (team membership, role assignment, tagging, project collaborators) where an IDOR bug becomes a security incident.attach() wrapper gets wrong. Each is a multi-week bug class (tenant leakage, cross-connection transaction drift) that teams typically discover in production. 10.4.67 adds a narrower correctness fix for keyless pivot models, reinforcing that the maintainers are still closing relationship-write edge cases. The maintenance signal remains strong.id. Worth folding into the upgrade rather than treating as a separate initiative.Adopt when:
attach/sync writing on the wrong connection would cause inconsistent or lost writes.Look elsewhere or proceed with caution when:
To executives: This is a security and correctness release for a package we use (or are evaluating) to manage user-facing relationship writes. It changes the default from "permit unless blocked" to "deny unless explicitly granted," which is the posture our security questionnaire and auditors expect. It also fixes silent-failure classes — tenant/soft-delete scoping and multi-database transaction routing — that produce data leakage and inconsistent writes without throwing errors. The latest patch adds a small correctness fix for keyless pivot models. Low upgrade cost, meaningfully lower incident risk.
To engineering: Upgrade to 10.4.67, which supersedes 10.4.62. Three behavioral changes to note from the 10.4.62 baseline. First, attach and sync now fail closed when no parent policy is resolvable — any call site that previously relied on the absence of a policy meaning "allowed" will start throwing; audit those before rollout. Second, related-ID resolution on attach/sync now respects global scopes and soft deletes, so IDs that were previously accepted despite being out of tenant scope or soft-deleted will now be rejected — this is intended behavior but may surface as failing tests or 403s in staging. Third, write transactions now run on the model's own connection, which matters if you have read/write splits or multiple connections. The 10.4.67 patch additionally skips the primary-key tiebreaker on pivots without a declared key; include it if we use custom pivot models without explicit primary keys. The known limitation remains that custom attachers bypass authorization by design; if we have any, they need explicit review sign-off, and I'd like a CI check or lint to keep that from spreading.
One-line ask: Approve the 10.4.67 patch upgrade and a short audit of attach/sync call sites that lack an explicit parent policy.
How can I help you explore Laravel packages today?