{"id":22151369,"url":"https://github.com/src-run/phpenv-conf","last_synced_at":"2025-03-24T13:21:46.817Z","repository":{"id":136386402,"uuid":"62436414","full_name":"src-run/phpenv-conf","owner":"src-run","description":null,"archived":false,"fork":false,"pushed_at":"2018-01-29T10:36:14.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T18:24:04.483Z","etag":null,"topics":["bash","phpenv","phpenv-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/src-run.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-07-02T06:01:12.000Z","updated_at":"2018-01-29T10:05:35.000Z","dependencies_parsed_at":"2024-05-16T00:10:26.103Z","dependency_job_id":null,"html_url":"https://github.com/src-run/phpenv-conf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-run%2Fphpenv-conf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-run%2Fphpenv-conf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-run%2Fphpenv-conf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-run%2Fphpenv-conf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/src-run","download_url":"https://codeload.github.com/src-run/phpenv-conf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245276110,"owners_count":20588895,"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":["bash","phpenv","phpenv-plugin"],"created_at":"2024-12-02T00:32:35.124Z","updated_at":"2025-03-24T13:21:46.784Z","avatar_url":"https://github.com/src-run.png","language":"Shell","readme":"# phpenv-conf\n\nThis is a [`phpenv`](https://github.com/src-run/phpenv.git) plug-in providing PHP configuration (ini file)\nmanagement commands. On first invocation a `conf.d-available/` path is created parallel to the original\n`conf.d/`, which provides the location this script places ini files when calling with `--[cfg|ext]-add`.\nActually enabling the ini file is done by calling `-e` or `--enable`, which symlinking the file from\n`conf.d-available/` into `conf.d/`.\n\n## Installation\n\n__Automated Installation:__ If starting from scratch, you can use the [`phpenv`](https://github.com/src-run/phpenv.git)\ninstallation script, which by default automatically installs this plug-in:\n\n```bash\ncurl -s https://raw.githubusercontent.com/src-run/phpenv/master/bin/phpenv-installer-remote.bash | bash\n```\n\n__Manual Installation:__ Alternatively, you can clone the repository yourself into your `~/.phpenv/plugins` directory:\n\n```bash\ngit clone https://github.com/src-run/phpenv-conf.git ~/.phpenv/plugins/php-conf\n```\n\n## Usage\n\n```bash\nphpenv conf [OPTION] [\u003ccfgini|extini|extname|conf\u003e]\n```\n\n### CLI Options\n\n```bash\n#add local general-purpose config ini file (ex.: defining timezone)\nphpenv conf -c|--cfg-add \u003ccfg-file\u003e\n\n#add a local extension config ini file (ex.: igbinary.ini, tidy.ini, etc)\nphpenv conf -x|--ext-add \u003cext-file\u003e\n\n#create new extension config file from name (containing \"extension=\u003cextname\u003e.so\")\nphpenv conf -X|--ext-new \u003cext-name\u003e\n\n#remove installed config completely (from active config and available config dirs)\nphpenv conf -r|--rm \u003ccfg-name\u003e\n\n#enable installed config (by symlinking from available dir)\nphpenv conf -e|--enable \u003ccfg-name\u003e\n\n#disable installed config (by removing enabled symlink)\nphpenv conf -d|--disable \u003ccfg-name\u003e\n\n#list both enabled and disabled configs \nphpenv conf -l|--list\n\n#display installed config file contents\nphpenv conf -s|--show \u003ccfg-name\u003e\n\n#show version of php-congig (including current git hash)\nphpenv conf -V|--version\n\n#display help dialoge message (in fact, this message you'r reading here!)\nphpenv conf -h|--help|help\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-run%2Fphpenv-conf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrc-run%2Fphpenv-conf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-run%2Fphpenv-conf/lists"}