Laravel Goto
Goto various Laravel files by Alt+Left-Click
Details
Installs
- Total 15K
- Win 10K
- Mac 2K
- Linux 3K
| May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 2 | 2 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 3 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 1 |
| Mac | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| Linux | 0 | 2 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 4 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 3 | 0 | 2 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Laravel Goto
Quick navigation extension for Laravel projects. Jump to views, controllers, configs, language files and more with a single click.

Usage
Method 1: Select text and press Alt + ;
Method 2: Select text → Right-click → Choose Laravel Goto
Features
Views & Components
Blade Templates
Jump to blade view files from:
view('hello_view', ['name' => 'James']);
Route::view('/', 'pages.public.index');
@includeIf('view.name', ['status' => 'complete'])
@each('view.name', $jobs, 'job', 'view.empty')
@extends('layouts.app')
Blade Components
<x-alert:hello />
Inertia.js
Route::inertia('/about', 'About/AboutComponent');
Inertia::render('MyComponent');
inertia('About/AboutComponent');
Livewire
@livewire('nav.show-post')
<livewire:nav.show-post />
Controllers & Routes
Controller Actions
Jump to controllers with method highlighting:
Route::get('/', 'HelloController@index');
Route::resource('photo', 'HelloController', ['only' => ['index', 'show']]);
Middleware

Route Helpers

URI-based Navigation
Use command Laravel Goto: Go to Controller via Uris to browse all routes:

Configuration
Config Files
Jump to config files with option highlighting:
Config::get('app.timezone');
Config::set('app.timezone', 'UTC');
Filesystem Disks
Storage::disk('local')->put('example.txt', 'Contents');
Environment Variables
env('APP_DEBUG', false);
🌐 Localization
Jump to language files:
__('messages.welcome');
@lang('messages.welcome');
trans('messages.welcome');
trans_choice('messages.apples', 10);
Jump to language files or open all matching files with highlighting:

Other Features
Artisan Commands

Path Helpers
app_path('User.php');
base_path('vendor');
config_path('app.php');
database_path('UserFactory.php');
public_path('css/app.css');
resource_path('sass/app.scss');
storage_path('logs/laravel.log');
Static Files
Jump to static assets: “php $file = 'js/hello.js';
**Supported extensions:** js, ts, jsx, vue, css, scss, sass, less, styl, htm, html, xhtml, xml, log
#### Log Files
Use command `Laravel Goto: Go to Log file`:

---
## Installation
### Package Control
1. Press `Ctrl+Shift+P` then select `Package Control: Install Package`
2. Search for `Laravel Goto`
### Manually
Clone the repository into your Sublime Text `Packages` directory:
- **MacOS:** `~/Library/Application Support/Sublime Text 3/Packages/LaravelGoto`
- **Linux:** `~/.config/sublime-text-3/Packages/LaravelGoto`
- **Windows:** `%APPDATA%\Sublime Text 3\Packages\LaravelGoto`
---
## Settings
You can customize the extension via `Preferences > Package Settings > LaravelGoto > Settings`.
| Key | Description | Default |
| :--- | :--- | :--- |
| `php_bin` | Path to your PHP executable | `"php"` |
| `show_hover` | Show hover phantom if available | `true` |
| `static_extensions` | Additional static file extensions to support | `[]` |
**Example configuration:**
```json
{
"php_bin": "c:\\php\\php.exe",
"show_hover": true,
"static_extensions": ["webp", "svg"]
}