sebastiaanluca/laravel-route-model-autobinding
Automatically bind Eloquent models to Laravel route parameters using naming conventions, so {post} resolves to your Post model without manual Route::model definitions. Cuts boilerplate and keeps route files clean and predictable.
{user} → User) — is handled natively by Laravel's implicit route model binding. The product decision it most directly supports is rejecting an added dependency in favor of a first-party framework capability, which reduces maintenance surface, audit scope, and upgrade friction.composer.json, its presence is a reliable signal that the app predates Laravel 5.4-era conventions or has drifted from framework idioms. That flags upgrade work (Laravel version bump, PHP 8 readiness, removal of abandoned dependencies) as a roadmap item with a concrete, bounded scope.RouteServiceProvider for teams generating many resource routes. That use case still exists, but the decision now is "use implicit binding + Route::model() where needed," not "add a package." Useful as a reference point when estimating effort for scaffolding conventions.Essentially never for new work. The package is explicitly marked deprecated and the repository is archived; the last release was September 2019. It will not receive compatibility updates for modern Laravel releases or PHP 8+, and any issue found in production becomes your team's to fix — you are effectively forking it.
Consider it only in these narrow, non-forward-looking scenarios:
Route::model() / Route::bind() mapping in RouteServiceProvider, which is a few lines and carries no abandonment risk.Look elsewhere — specifically at the framework — when: you want automatic model resolution in routes (Laravel implicit binding), custom resolution logic (Route::bind(), resolveRouteBinding() on the model), soft-delete or scoping behavior (->scopeBindings(), withTrashed()), or slug-based lookup (getRouteKeyName()). All of these are first-party, documented, tested, and maintained. A maintained third-party alternative is only justified if it adds policy, tenancy, or multi-model resolution semantics you genuinely need — and even then, evaluate it on its own merits, not as a successor to this package.
Adoption checklist if someone insists: confirm the target Laravel/PHP version is supported (it is not), confirm an active maintainer and recent release (there is none), confirm a security disclosure process (there is none), and estimate the cost of vendoring the code into your own namespace. In practice the checklist fails at the first item.
To executives: This is a small, free utility that saved a few lines of code in Laravel apps around 2017–2019. It is now deprecated, archived, and unmaintained, and the framework absorbed its functionality years ago. There is no business case to adopt it. If it appears in our stack, it is a maintenance and audit liability we should remove — a small, low-risk cleanup that improves our dependency posture and upgrade path. Net recommendation: no investment, no adoption; schedule removal where found.
To engineering: Do not add this dependency. Laravel's built-in implicit route model binding covers the same ground with zero dependencies, plus scoping, soft deletes, custom keys, and custom resolution via resolveRouteBinding(). For legacy services still using it, the migration is mechanical: delete the package, remove its service provider registration, and rely on implicit binding — then add explicit Route::model() only for models whose route key or resolution logic is non-standard. Budget this as a half-day task per service, mostly regression testing on routes with model parameters. If a team is reaching for auto-binding to cut boilerplate, the right answer is a routing convention documented in our ADR, not a third-party package.
To security and procurement: The package is MIT-licensed, single-maintainer, archived, with no release since September 2019 and no supported Laravel or PHP 8 branch. It is not a direct vulnerability, but it is unpatched-by-definition: any future issue is ours to fix. Treat it as a "remove on touch" item in dependency hygiene reviews rather than a blocking finding, and prioritize it alongside other abandoned packages during upgrade cycles.
How can I help you explore Laravel packages today?