spatie/laravel-sql-commenter
Adds sqlcommenter-style comments to Laravel database queries, embedding context like controller and action. Makes it easy to trace slow or problematic SQL back to the exact code path, and works with tools like PlanetScale Query Insights.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-visit | 0.91 | Adds a php artisan visit command to quickly hit any route in your Laravel app and inspect the response. Shows colorized HTML or JSON output plus request results, with options like visiting by route name and logging in a user before the request. | 159 | 160 | 9 | 756 | 0 | 11.0 | 11.1 | MIT | 7 months ago | |
| spatie/laravel-log-dumper | 0.91 | Adds an ld() helper to dump any values to your Laravel application log using Symfony VarDumper formatting. Log multiple arguments, choose or chain log levels (info/debug/error/etc.), and enable/disable logging when needed. | 119 | 119 | 10 | 24K | 0 | 11.3 | 33.5 | MIT | 8 months ago | |
| spatie/laravel-data | 0.91 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.4 | 63.7 | MIT | 1 week ago | |
| spatie/laravel-html | 0.91 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 829 | 839 | 102 | 569K | 0 | 22.4 | 41.2 | MIT | 8 months ago | |
| spatie/laravel-options | 0.91 | Generate unified select option lists in Laravel from enums, Eloquent models, states, and arrays. Spatie laravel-options converts sources to a consistent label/value structure, supports customization via config, and makes building dropdowns and filters faster and cleaner. | 252 | 255 | 9 | 15K | 0 | 13.4 | 26.3 | MIT | 7 months ago | |
| spatie/laravel-analytics | 0.91 | Easily retrieve data from Google Analytics in your Laravel app. Simple, expressive methods fetch visitors, page views, most visited pages, and more, all returned as familiar Laravel collections. Install via Composer, publish the config, and add your Google credentials to get started. | 3,245 | 3,278 | 472 | 208K | 0 | 59.0 | 29.3 | MIT | 2 weeks ago | |
| spatie/laravel-db-snapshots | 0.91 | Spatie's Laravel package adding Artisan commands to instantly dump and load MySQL, PostgreSQL, or SQLite databases. Create named snapshots, load the latest, list, and clean up old dumps in seconds. | 1,222 | 1,228 | 100 | 128K | 0 | 38.4 | 32.7 | MIT | 2 weeks ago | |
| spatie/laravel-searchable | 0.91 | Structured, case-insensitive search across Eloquent models and other sources. Register models/attributes (or custom search aspects) and get grouped, typed results with titles and URLs—ideal for building unified search pages in Laravel apps. | 1,373 | 1,381 | 110 | 79K | 0 | 25.4 | 25.7 | MIT | 8 months ago | |
| spatie/laravel-site-search | 0.91 | spatie/laravel-site-search crawls and indexes your entire site to create a private Google-like full-text search. It uses a local SQLite FTS5 database by default with no external dependencies, optional Meilisearch support, and concurrent crawling for speed. | 310 | 312 | 25 | 2K | 0 | 23.4 | 12.5 | MIT | 4 months ago | |
| spatie/laravel-comments | 0.89 | Laravel Comments lets you associate comments with any Eloquent model, so you can add threaded discussion to posts, products, or other records with minimal setup. Configurable, tested, and maintained by Spatie. | 16 | 48 | 41 | 0 | 4 | 18.6 | 1.2 | MIT | 7 months ago | |
| spatie/laravel-referer | 0.88 | Store a visitor’s original referrer in the Laravel session. Detects from utm_source first, then the external domain from the Referer header, otherwise empty. Configurable session key and referrer sources via published config. | 526 | 531 | 37 | 26K | 0 | 17.4 | 24.6 | MIT | 8 months ago | |
| spatie/laravel-query-builder | 0.88 | Spatie's Laravel Query Builder turns incoming API request parameters into Eloquent queries, letting you define allowed filters, sorts, includes, and pagination so clients can shape responses through the URL without exposing dangerous query logic. | 4,469 | 4,488 | 422 | 2M | 0 | 67.2 | 43.7 | MIT | 1 week ago | |
| affordablemobiles/eloquent-sqlcommenter | 0.86 | Adds SQL comments to Laravel Eloquent queries, tagging each statement with request context like route, controller action, and trace IDs, so slow-query logs and database monitoring are easier to trace back to the code that ran them. | 0 | 0 | 1 | 3K | 0 | 0.3 | 48.2 | MIT | 1 year ago | |
| socialblue/laravel-query-adviser | 0.85 | — | 20 | 20 | 1 | 203 | 0 | 9.5 | 15.0 | MIT | 3 years ago | |
| padosoft/laravel-querymonitor | 0.85 | — | 3 | 3 | 1 | 1 | 0 | 0.8 | 1.3 | MIT | 1 year ago | |
| tpetry/laravel-mysql-explain | 0.84 | Adds EXPLAIN support to Laravel's MySQL query builder so you can inspect execution plans, spot missing indexes, and debug slow queries without leaving your app. Works with Eloquent and the query builder, with no extra tooling required. | 268 | — | 9 | — | 0 | 1.8 | — | MIT | — | |
| tpetry/laravel-query-expressions | 0.84 | Add powerful SQL expression support to Laravel’s query builder. Compose reusable, type-safe expressions for functions, casts, JSON ops, windows, and more, with clean syntax and cross-database compatibility—ideal for advanced filtering, sorting, and computed columns. | 357 | 359 | 29 | 118K | 1 | 2.9 | 34.8 | MIT | — | |
| supliu/laravel-query-monitor | 0.84 | — | 284 | 285 | 39 | 705 | 4 | 3.8 | 9.0 | — | — | |
| rstriquer/eloquent-logger | 0.84 | — | 4 | 4 | 1 | 310 | 0 | 0.5 | 24.9 | MIT | 3 years ago | |
| madewithlove/laravel-debug-console | 0.84 | Laravel Debug Console adds an in-app console to your Laravel application, letting you inspect debugging output, logs and runtime details right in the browser. A lightweight alternative to external tools for local development and troubleshooting. | 10 | 10 | 1 | 1 | 4 | 1.4 | 1.3 | MIT | 8 years ago |
How can I help you explore Laravel packages today?