{"id":15764675,"url":"https://github.com/ctf0/vscode-php-array-symbol-provider","last_synced_at":"2025-03-31T10:23:22.459Z","repository":{"id":84058329,"uuid":"575188756","full_name":"ctf0/vscode-php-array-symbol-provider","owner":"ctf0","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-16T18:57:43.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-11T12:18:59.699Z","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":"2022-12-07T00:23:51.000Z","updated_at":"2023-10-19T09:20:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6ecb7c6-2ecf-41c4-a990-2a3f8fa7abef","html_url":"https://github.com/ctf0/vscode-php-array-symbol-provider","commit_stats":{"total_commits":7,"total_committers":3,"mean_commits":"2.3333333333333335","dds":0.5714285714285714,"last_synced_commit":"29d57b4bbd32cf21e5a923b5686cf134fb2c1dde"},"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-array-symbol-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Fvscode-php-array-symbol-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Fvscode-php-array-symbol-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctf0%2Fvscode-php-array-symbol-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctf0","download_url":"https://codeload.github.com/ctf0/vscode-php-array-symbol-provider/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246451195,"owners_count":20779578,"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.011Z","updated_at":"2025-03-31T10:23:22.437Z","avatar_url":"https://github.com/ctf0.png","language":"TypeScript","funding_links":["https://github.com/sponsors/ctf0"],"categories":[],"sub_categories":[],"readme":"# Php Array Symbol Provider\n\na symbol provider support for php arrays, similar to json files ex.\n\n- config\n\n```php\n\u003c?php\n\nreturn [\n    'connections' =\u003e [\n        'pusher' =\u003e [\n            'driver'  =\u003e 'pusher',\n            'key'     =\u003e env('PUSHER_APP_KEY'),\n            'secret'  =\u003e env('PUSHER_APP_SECRET'),\n            'app_id'  =\u003e env('PUSHER_APP_ID'),\n            'options' =\u003e [\n                'host'      =\u003e env('PUSHER_HOST'),\n            ]\n        ],\n\n        'ably' =\u003e [\n            'driver' =\u003e 'ably',\n            'key'    =\u003e env('ABLY_KEY'),\n        ],\n\n        // etc ...\n    ],\n];\n```\n\n- class\n\n```php\n\u003c?php\n\nclass A\n{\n    private array $prop = [\n        'hello',\n        'world',\n        'abc' =\u003e 1\n    ];\n\n    public function q() {\n        $this-\u003eq = [\n            'a',\n            'b',\n            'c' =\u003e 1\n        ];\n\n        $ss = [\n            'x' =\u003e 0,\n            'y' =\u003e 2,\n            'z' =\u003e 1\n        ];\n    }\n\n    public function method() {\n        return [\n            1,\n            2,\n            3,\n        ];\n    }\n}\n```\n\n- plain\n\n```php\n\u003c?php\n\n$prop = [\n    'hello',\n    'world',\n    'abc' =\u003e 1\n];\n\nfunction method() {\n    $abc = [\n        'x' =\u003e 0,\n        'y' =\u003e 2,\n        'z' =\u003e 1\n    ];\n\n    return [\n        1,\n        2,\n        3,\n    ];\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctf0%2Fvscode-php-array-symbol-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctf0%2Fvscode-php-array-symbol-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctf0%2Fvscode-php-array-symbol-provider/lists"}