{"id":15764668,"url":"https://github.com/ctf0/laravel-goto-controller","last_synced_at":"2025-10-04T09:16:29.081Z","repository":{"id":50394897,"uuid":"237353613","full_name":"ctf0/laravel-goto-controller","owner":"ctf0","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-23T13:40:47.000Z","size":135,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T14:07:56.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctf0.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ctf0"}},"created_at":"2020-01-31T03:32:34.000Z","updated_at":"2024-08-23T13:40:50.000Z","dependencies_parsed_at":"2024-02-20T12:24:07.143Z","dependency_job_id":"60aaa938-769c-41c3-93c1-6b0fa3c6c006","html_url":"https://github.com/ctf0/laravel-goto-controller","commit_stats":{"total_commits":55,"total_committers":3,"mean_commits":"18.333333333333332","dds":0.09090909090909094,"last_synced_commit":"f4c62e1de95ec2a9d54cd4aa3dfc78814f740642"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ctf0/laravel-goto-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Flaravel-goto-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Flaravel-goto-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Flaravel-goto-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Flaravel-goto-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctf0","download_url":"https://codeload.github.com/ctf0/laravel-goto-controller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Flaravel-goto-controller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278291066,"owners_count":25962681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T12:04:24.178Z","updated_at":"2025-10-04T09:16:29.051Z","avatar_url":"https://github.com/ctf0.png","language":"TypeScript","funding_links":["https://github.com/sponsors/ctf0"],"categories":[],"sub_categories":[],"readme":"# Laravel Goto Controller\n\n- project have to be handled by **Composer**\n\n## Features\n\n- Controller\n\n\u003e- add method/action to clipboard if not found in controller ex.\"used through a trait\"\n\u003e- supports controller definitions like\n\u003e     - Route::get('/', 'index'); // will have list of all controllers with the same action name\n\u003e     - Route::get('/', [PhotoController::class, 'index']);\n\u003e     - Route::get('/', 'PhotoController@index');\n\u003e     - Route::get('/', 'Something\\PhotoController@index');\n\u003e     - Route::resource('/photo', 'PhotoController');\n\n- Routes\n\n\u003e- to add project **APP_URL**, run `Laravel GoTo Controller` from the command palette.\n\u003e- popup will show both the route \"uri \u0026 action\"\n\u003e     - uri: will open the link in browser \"if route is a **GET** \u0026\u0026 **APP_URL** was added\"\n\u003e     - action: will open the controller file\n\n### Notes\n\n- the controller has to be following the [laravel convention](https://laravel.com/docs/master/controllers)\n- `Closure` routes won't have a link\n- for the controller link to redirect to the correct place\n    - make sure the `terminal.integrated.scrollback` is set to a big number ex.`100000` or even more if you have a very long list, otherwise, you might get redirected to the wrong controller.\n    - if the controllers still doesn't show up in the popup, try restarting the editor\n\n\u003e #### Laravel v9+\n\u003e\n\u003e with v9 the route listing cmnd has changed, so now u have a new config to get around this, u can set the config per project so u have the same experience regardless of the fw version.\n\u003e\n\u003e```json\n\u003e// v8-\n\u003e\"laravelGotoController.routeListCommand\": \"artisan route:list --columns=uri,name,action,method --json\",\n\u003e\n\u003e// v9+\n\u003e\"laravelGotoController.routeListCommand\": \"artisan route:list --json\",\n\u003e```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctf0%2Flaravel-goto-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctf0%2Flaravel-goto-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctf0%2Flaravel-goto-controller/lists"}