{"id":20324622,"url":"https://github.com/gh640/sublimephparrayconverter","last_synced_at":"2025-04-11T19:42:13.638Z","repository":{"id":74923766,"uuid":"93636952","full_name":"gh640/SublimePhpArrayConverter","owner":"gh640","description":"🐘 A Sublime Text 3 / 4 package which converts PHP array syntax.","archived":false,"fork":false,"pushed_at":"2021-06-13T03:08:17.000Z","size":268,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T15:49:01.982Z","etag":null,"topics":["php","sublime-package","sublime-text","sublime-text-3","sublime-text-4"],"latest_commit_sha":null,"homepage":"https://packagecontrol.io/packages/PhpArrayConverter","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gh640.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-06-07T13:13:55.000Z","updated_at":"2023-06-17T05:52:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"d763ad05-533f-494f-a0dd-9cefa1f32b1d","html_url":"https://github.com/gh640/SublimePhpArrayConverter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2FSublimePhpArrayConverter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2FSublimePhpArrayConverter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2FSublimePhpArrayConverter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2FSublimePhpArrayConverter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gh640","download_url":"https://codeload.github.com/gh640/SublimePhpArrayConverter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248468498,"owners_count":21108829,"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":["php","sublime-package","sublime-text","sublime-text-3","sublime-text-4"],"created_at":"2024-11-14T19:36:34.752Z","updated_at":"2025-04-11T19:42:13.630Z","avatar_url":"https://github.com/gh640.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SublimePhpArrayConverter\n\nA Sublime Text 3 / 4 package which converts PHP array syntax to brackets.\n\n![ScreenShot](https://raw.github.com/gh640/SublimePhpArrayConverter/master/assets/screenshot.gif)\n\n- [PhpArrayConverter - Packages - Package Control](https://packagecontrol.io/packages/PhpArrayConverter)\n\n\n## Dependencies\n\nThis package needs `php` command to work.\n\n\n## Installation\n\n### Option 1: Install via \"Package Control\" (recommended)\n\n1. Ensure you have Package Control installed. See https://packagecontrol.io/installation .\n2. Install the package with Package Control. Open up the command palette (ctrl/cmd + shift + p), execute the following command: `Package Control: Install Package`, then enter `PhpArrayConverter`.\n\n### Option 2: Download manually\n\n1. Download the zip file: https://github.com/gh640/SublimePhpArrayConverter/archive/master.zip\n2. Unzip the archive, rename the 'SublimePhpArrayConverter' folder to 'PhpArrayConverter' and move it into your Sublime Text 'Packages' directory.\n\n\n## Usage\n\n### Commands\n\nYou can run the conversion from the command palette.\n\n1. Open the command palette (ctrl/cmd + shift + p).\n2. Select `PhpArrayConverter: Convert array`.\n\nIf you are selecting a part of text when running the command, only arrays in it are targeted. If there's no text selected, all arrays in the active file will be converted.\n\n### Settings\n\nThe default settings are set as below.\n\n```json\n{\n  \"auto_convert_on_save\": false,\n  \"path\": \"\"\n}\n```\n\nThese values can be overwritten through `Preferences` - `Package settings` - `PhpArrayConverter` - `Settings - User`.\n\n- `auto_convert_on_save` is a setting to turn on/off the auto conversion function. The default value is `false` and the auto conversion function is disabled. If you want to enable the auto conversion, set this to `true` in your setting file.\n- `path` is a value which is converted to the environment variable `$PATH` when `php` command to tokenize the php code is run. Change this value to specify which `php` should be used in your environment.\n\n\n## Links\n\n- [`ComposerPackageInfo`](https://github.com/gh640/SublimeComposerPackageInfo): A Sublime Text 3 package which shows Composer packages information in a popup.\n\n\n## License\n\nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh640%2Fsublimephparrayconverter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgh640%2Fsublimephparrayconverter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh640%2Fsublimephparrayconverter/lists"}