staudenmeir/laravel-upsert
A Laravel extension that adds INSERT ON DUPLICATE KEY UPDATE, INSERT ON CONFLICT and INSERT IGNORE support to the query builder and Eloquent models. It covers MySQL, MariaDB, PostgreSQL, SQLite and SQL Server, supporting Laravel 5.5 through 8.9. The package is no longer needed on Laravel 8.10 and later, where upserts are built in.
Maintenance activity