NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2790 most downloaded on Packagist
Add comments to SQL queries made by Laravel
Latest stable
2.2.1
Last release 1 months ago
19 Oct 2026
Ships fairly regularly
a new release about every 6 months
Nearly every release is documented
notes for 15 of 15 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
15 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
No breaking changes or changes to supported PHP/Laravel versions.
No breaking changes or changes to supported PHP/Laravel versions.
Full Changelog: https://github.com/spatie/laravel-sql-commenter/compare/2.2.0...2.2.1
Drop support for PHP < 8.4 and Laravel < 12
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-sql-commenter/pull/29
Full Changelog: https://github.com/spatie/laravel-sql-commenter/compare/2.1.0...2.1.1
Bump dependabot/fetch-metadata from 1.6.0 to 2.2.0 by @dependabot in https://github.com/spatie/laravel-sql-commenter/pull/25
Full Changelog: https://github.com/spatie/laravel-sql-commenter/compare/2.0.0...2.1.0
You can no longer call SqlCommenter::addComment statically, you now need to fetch the commenter instance from the container or have it dependency inje
You can no longer call SqlCommenter::addComment statically, you now need to fetch the commenter instance from the container or have it dependency injected into your code.
- SqlCommenter::addComment('My comment');
+ app(SqlCommenter::class)->addComment('My comment');
Full Changelog: https://github.com/spatie/laravel-sql-commenter/compare/1.4.0...2.0.0
Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-sql-commenter/pull/12
Full Changelog: https://github.com/spatie/laravel-sql-commenter/compare/1.3.1...1.4.0
support L10
Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/spatie/laravel-sql-commenter/pull/8
Full Changelog: https://github.com/spatie/laravel-sql-commenter/compare/1.2.0...1.3.0
Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in https://github.com/spatie/laravel-sql-commenter/pull/6
Full Changelog: https://github.com/spatie/laravel-sql-commenter/compare/1.1.1...1.2.0
prevent infinite loop when getting authenticated user
- add user commenter - fix config:cache issue - filter empty comments
- initial release
- experimental release
- experimental release
- experimental release
One column per quarter.