PHPackages                             google/sqlcommenter-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. google/sqlcommenter-laravel

AbandonedArchivedLibrary[Debugging &amp; Profiling](/categories/debugging)

google/sqlcommenter-laravel
===========================

SQLCommenter implementation for Laravel. SQLCommenter is a set of tools that augments SQL Statements with comments containing information about the code that caused its execution. These information can be action, controller, framework, db\_driver, route and opentelemetry traceparent.

v0.1.0-alpha(3y ago)775.2k5[2 issues](https://github.com/google/sqlcommenter-laravel-php/issues)MITPHP

Since Aug 19Pushed 2y agoCompare

[ Source](https://github.com/google/sqlcommenter-laravel-php)[ Packagist](https://packagist.org/packages/google/sqlcommenter-laravel)[ RSS](/packages/google-sqlcommenter-laravel/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

sqlcommenter-laravel \[In Development\]
=======================================

[](#sqlcommenter-laravel-in-development)

sqlcommenter is a plugin/middleware/wrapper to augment SQL statements from laravel with comments that can be used later to correlate user code with SQL statements.

### Installation

[](#installation)

Add this to your `composer.json`

```
"repositories": [
    {
        "type": "path",
        "url": "/full/or/relative/path/to/sqlcommenter-laravel/package"
    }
]
```

Install the package

```
composer require "google/sqlcommenter-laravel"
```

### Usage

[](#usage)

Publish the config file from library to into laravel app using below command

```
php artisan vendor:publish --provider="Google\GoogleSqlCommenterLaravel\GoogleSqlCommenterServiceProvider"
```

Add the following class above `Illuminate\Database\DatabaseServiceProvider::class`, in `config/app.php`

```
'providers' => [
    ...
    Google\GoogleSqlCommenterLaravel\Database\DatabaseServiceProvider::class,
    Illuminate\Database\DatabaseServiceProvider::class,
    ...
]
```

### Run unit tests

[](#run-unit-tests)

Run unit tests using below command

```
./vendor/bin/phpunit tests
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1414d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8713415b20b4be4cec8f8b22741e3cd05f76eee9e38de1de5bf32727349b7c5?d=identicon)[bshaffer](/maintainers/bshaffer)

![](https://www.gravatar.com/avatar/3901206952845568d7557a60855b097f6d1bafaa7a24020cfcf5bb8de74f9d28?d=identicon)[google-cloud](/maintainers/google-cloud)

---

Top Contributors

[![sjs994](https://avatars.githubusercontent.com/u/7661510?v=4)](https://github.com/sjs994 "sjs994 (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/google-sqlcommenter-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/google-sqlcommenter-laravel/health.svg)](https://phpackages.com/packages/google-sqlcommenter-laravel)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M343](/packages/drupal-core-dev)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

10.2k3.5k](/packages/leantime-leantime)[mailersend/laravel-driver

MailerSend Laravel Driver

90875.7k9](/packages/mailersend-laravel-driver)[fleetbase/fleetops-api

Fleet &amp; Transport Management Extension for Fleetbase

1731.5k7](/packages/fleetbase-fleetops-api)[mfc/oauth2

Generic OAuth2 authentication and authorization for TYPO3 CMS

11310.1k2](/packages/mfc-oauth2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
