amjadiqbal/laravel-mysql-advisor
A Laravel package that analyzes your MySQL setup and surfaces actionable advice on slow queries, indexes, and configuration so you can spot performance problems early and keep your database running efficiently.
about integration. The read-only, advisory-only design is appropriate for production-adjacent use because it does not mutate schemas or execute recommended SQL.--connection, and CI usage via --format=json and --fail-on. No asset build is required for the dashboard. The main prerequisites are database privileges and performance_schema availability for several checks.performance_schema is disabled, privileges are missing, or native prepared statements hide query digests. False positives are plausible for unused/redundant indexes and N+1 detection, so DBA/backend review is required before acting.ReadOnlyGuard cover multi-statement, comments, and connection-level edge cases? Are findings safe to expose in shared dashboards, or could they leak query text/table names? What is the release/support cadence for pre-1.0 versions?performance_schema and grant read-only metadata/performance access. It fits local, staging, and controlled production diagnostics; CI is a natural fit for scheduled or pre-release database checks.--fail-on in CI.performance_schema coverage and metadata; skipped-check behavior should be validated on each target engine. Native prepared statements will reduce query-level visibility, so teams using them should expect degraded findings rather than full coverage.performance_schema settings on staging. 3) Review skipped checks and JSON output. 4) Establish a findings baseline and triage SQL/migration recommendations with engineering/DBA owners. 5) Enable the gated dashboard only where appropriate. 6) Add scheduled or CI reporting with --fail-on only after false-positive tolerance is understood.GRANT/setting guidance reduce support ambiguity. Ownership should sit with platform/backend engineering, with DBA review for index and query findings.performance_schema retention, and selected checks. Use --only, off-peak scheduling, and read replicas where possible. Dashboard usage should be restricted, especially outside local environments, because findings can expose schema and query details.performance_schema, reduced query visibility with native prepared statements, and noisy/false-positive index or N+1 findings. The read-only guard is a key control, but its implementation should be verified before production use.How can I help you explore Laravel packages today?