Skip to content

Add Laravel Debugbar and IDE Helper#29

Open
thinkstylestudio wants to merge 3 commits into
developfrom
feature/laravel-debugbar-fc63
Open

Add Laravel Debugbar and IDE Helper#29
thinkstylestudio wants to merge 3 commits into
developfrom
feature/laravel-debugbar-fc63

Conversation

@thinkstylestudio
Copy link
Copy Markdown

Closes #9

Summary

Adds development tooling for debugging and IDE autocompletion:

  • barryvdh/laravel-debugbar — already in composer.json; publishes config/debugbar.php and documents optional DEBUGBAR_ENABLED in .env.example. Debugbar is enabled when APP_DEBUG=true (default).
  • barryvdh/laravel-ide-helper — new dev dependency with published config/ide-helper.php, generated helper files, and Composer scripts to regenerate them after updates.

Changes

  • Publish config/debugbar.php and config/ide-helper.php
  • Add _ide_helper.php, _ide_helper_models.php, and .phpstorm.meta.php for IDE support
  • Add composer ide-helper script for full regeneration (models require a DB connection)
  • Run ide-helper:generate and ide-helper:meta on composer update
  • Ignore storage/debugbar in .gitignore

Usage

Debugbar: Visible on local pages when APP_DEBUG=true. Set DEBUGBAR_ENABLED=false in .env to disable without turning off debug mode.

IDE Helper: After schema changes, run:

composer ide-helper

(Model docs need MySQL/Lando or use php artisan ide-helper:models --nowrite -M for in-memory SQLite.)

Open in Web Open in Cursor 

Justin Rhodes and others added 3 commits August 11, 2025 21:01
- Add barryvdh/laravel-ide-helper as dev dependency
- Publish debugbar and ide-helper config files
- Generate initial IDE helper files for facades, models, and PhpStorm meta
- Add composer ide-helper script and post-update regeneration
- Document DEBUGBAR_ENABLED in .env.example and ignore debugbar storage

Co-authored-by: Theron Smith <theron+github@thinkstylestudio.com>
@thinkstylestudio thinkstylestudio self-assigned this May 20, 2026
@thinkstylestudio thinkstylestudio requested a review from a team May 20, 2026 06:45
@thinkstylestudio thinkstylestudio marked this pull request as ready for review May 20, 2026 06:45
@thinkstylestudio thinkstylestudio changed the base branch from main to develop May 20, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Laravel Debug Bar

3 participants