nihilsen/laravel-join-using
Adds JOIN ... USING support to Laravel's query builder, letting you join tables on identically named columns with cleaner syntax than repeated on clauses. Works with Eloquent and the DB facade, keeping queries concise and readable.
nihilsen/laravel-join-using adds native support for SQL JOIN ... USING (column) clauses to Laravel's query builder and Eloquent. Instead of repeating ON conditions for shared column names, you can join tables on their common columns with a single, expressive method — producing cleaner, more portable SQL.
The package integrates seamlessly with existing query builder and Eloquent chains, keeping your joins readable and your intent explicit.
USING via a simple fluent methodON a.col = b.col conditionsUSING SQLHow can I help you explore Laravel packages today?