npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

laravel-ninja

v0.0.1

Published

**Laravel Ninja** is a powerful VS Code extension built to supercharge your Laravel development workflow. From real-time route previews to Livewire support, Blade IntelliSense, and rich JSON logging – it's your all-in-one Laravel developer assistant.

Downloads

6

Readme

🧠 Laravel Ninja - VS Code Extension

Laravel Ninja is a powerful VS Code extension built to supercharge your Laravel development workflow. From real-time route previews to Livewire support, Blade IntelliSense, and rich JSON logging – it's your all-in-one Laravel developer assistant.


🚀 Features

🔍 Route Preview (WebView)

  • View all Laravel routes via php artisan route:list --json
  • Dynamic filter + column sorting (Method, URI, Name, Action)
  • Color-coded method badges (GET, POST, PUT, DELETE, etc.)
  • Dark/Light theme adaptive UI
  • Clickable controller links to open class and auto-jump to method
  • Route test buttons (opens in browser)
  • Multi-method (GET|HEAD) coloring support

🛠 Route-to-Controller Navigation

  • Smart detection of controller paths
  • Works with:
    • app/Http/Controllers
    • Modules/...
    • src/...
    • Custom PSR-4-style structures
  • Jumps to exact method in controller (if found)

🧪 Test Endpoint Preview

  • "Test" button for each route opens in browser using base URL (configurable via laravelNinja.appUrl)

🌈 Log Viewer (CoolorsLog Style)

  • Parses storage/logs/*.log
  • Auto-refresh toggle
  • Search/filter bar
  • Auto JSON rendering (pretty format for JSON payloads)
  • Collapsible grouped logs (e.g., by timestamp/request ID)
  • Supports highlighting timestamps

🔦 Blade File IntelliSense

  • Blade syntax highlighting (via internal grammar injection)
  • Go to Blade Components (with @component and @include support)
  • Livewire component detection and navigation
  • Blade formatter with Auto Format on Save support

🔁 Workspace Module Tabs

  • Workspace-aware sidebar that detects Laravel modules
  • Shows custom folder icons using your installed VS Code icon theme (e.g., Material Icons)

🧩 Components Viewer

  • Search-all-components panel
  • Live preview of Blade components with props

⚡️ Laravel Tinker Terminal (coming soon)

  • Interactive shell inside VS Code terminal with Laravel context

✂️ Laravel Snippet Engine

  • Popular snippets:
    • @foreach, @if, @include, @livewire
    • Route, controller, migration, event generators

⚙️ Configuration

Update your .vscode/settings.json or global settings:

"laravelNinja.appUrl": "http://your-local-url.test"

📦 Commands

  • Laravel: Route Preview — Opens the interactive route browser
  • Laravel: Log Viewer — Opens JSON-enhanced log viewer
  • Laravel: Blade GoTo — Jump to Blade components
  • Laravel: Format Blade — Formats current Blade file
  • Laravel: Component Preview — Opens Blade component viewer
  • Laravel: Workspace Explorer — Shows Laravel module structure

💡 Future Enhancements

  • Tinker shell support
  • Built-in API request tester with header/body control
  • Database table explorer
  • Livewire prop hover + intellisense
  • Laravel Forge/Envoyer integrations

🧠 Contribution

We welcome PRs for:

  • Custom middleware visualization
  • Laravel Nova/Filament-specific support
  • Laravel Telescope & Horizon integrations

📸 Screenshots

Will be added soon


🧪 Requirements

  • PHP >= 8.0
  • Laravel >= 8.x
  • VS Code >= 1.65

🔗 License

MIT — Free to use and extend.

👤 Author

Ashik

☕ Support

If this extension helps you, consider buying me a coffee:

Buy Me a Coffee