{"id":15764678,"url":"https://github.com/ctf0/vscode-php-refactor","last_synced_at":"2025-06-23T16:07:16.314Z","repository":{"id":161823299,"uuid":"625471038","full_name":"ctf0/vscode-php-refactor","owner":"ctf0","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-18T11:34:27.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-11T12:19:04.728Z","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":null,"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}},"created_at":"2023-04-09T07:54:56.000Z","updated_at":"2023-04-10T09:47:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5f1eb5d-7e46-4c8a-8208-021dbfa0ba47","html_url":"https://github.com/ctf0/vscode-php-refactor","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.05555555555555558,"last_synced_commit":"da0e2f3cdf41dcb166a9d9a9a470926deb4707da"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Fvscode-php-refactor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Fvscode-php-refactor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Fvscode-php-refactor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Fvscode-php-refactor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctf0","download_url":"https://codeload.github.com/ctf0/vscode-php-refactor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246451244,"owners_count":20779589,"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","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:25.285Z","updated_at":"2025-03-31T10:23:19.685Z","avatar_url":"https://github.com/ctf0.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Php Refactor\n\n- the ext will detect when the cursor is at\n    - a constructor and add a property promotion (support inline \u0026 multiline)\n    - a method and add an argument\n    - otherwise, it will add the new property to the class scope\n- add all magic methods (if not already in the file)\n- (basic) extract selection to method/property \"selection must be inside a method/function\"\n    - new method/function will be added right after the selection method/function\n    - ext use ([intelephense](https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client)) to collect document symbols \u0026 generate php doc block\n- support updating file/s namespace on `move/rename`\n    - glob exclude is populated from both `files.watcherExclude` \u0026 `search.exclude`\n    - make sure to run `composer dump-autoload` b4 deploying to update its files\n    - until [Issue #168825](https://github.com/microsoft/vscode/issues/168825) is resolved, we have to use regex for the lookup, if something is missing/incorrect, plz open a ticket.\n\n## Usage\n\n- most/all of the features are accessed through code-actions `cmd+.`\n\n## Notes\n\n- Does NOT support multiple classes in a single document.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctf0%2Fvscode-php-refactor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctf0%2Fvscode-php-refactor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctf0%2Fvscode-php-refactor/lists"}