{"id":16060798,"url":"https://github.com/geerlingguy/ansible-role-php-pear","last_synced_at":"2025-03-17T16:32:17.805Z","repository":{"id":14671638,"uuid":"17390500","full_name":"geerlingguy/ansible-role-php-pear","owner":"geerlingguy","description":"Ansible Role - PHP PEAR library installation","archived":false,"fork":false,"pushed_at":"2024-07-16T19:22:58.000Z","size":38,"stargazers_count":14,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-10T04:06:31.943Z","etag":null,"topics":["ansible","install","packages","pear","php","role"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/geerlingguy/php-pear/","language":null,"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/geerlingguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"geerlingguy","patreon":"geerlingguy"}},"created_at":"2014-03-04T04:37:12.000Z","updated_at":"2024-08-28T15:20:05.000Z","dependencies_parsed_at":"2023-02-18T03:00:43.369Z","dependency_job_id":"c0c6c39b-14c5-42a7-8777-8b31a16acac6","html_url":"https://github.com/geerlingguy/ansible-role-php-pear","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-pear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-pear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-pear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-pear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/ansible-role-php-pear/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221697052,"owners_count":16865534,"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":["ansible","install","packages","pear","php","role"],"created_at":"2024-10-09T04:06:34.801Z","updated_at":"2025-03-17T16:32:17.798Z","avatar_url":"https://github.com/geerlingguy.png","language":null,"funding_links":["https://github.com/sponsors/geerlingguy","https://patreon.com/geerlingguy"],"categories":[],"sub_categories":[],"readme":"# Ansible Role: PHP PEAR packages\n\n[![CI](https://github.com/geerlingguy/ansible-role-php-pear/actions/workflows/ci.yml/badge.svg)](https://github.com/geerlingguy/ansible-role-php-pear/actions/workflows/ci.yml)\n\nInstalls PHP PEAR packages on servers with PHP and `php-pear` already installed.\n\n## Requirements\n\nPHP and `php-pear` (or the equivalent) must already be installed on the server, so the `pear` command can be run.\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\n    php_pear_channels:\n      - pear.phing.info\n\n(Defaults to empty list (`[]`).) The PEAR channels that should be discovered so pear libraries can be installed. By default, PEAR is not configured to autodiscover channels for libraries you would like installed, so you need to explicitly list all the libraries' channels here.\n\n    php_pear_libraries:\n      - phing\n\n(Defaults to empty list (`[]`).) The libraries/extensions you would like installed via PEAR.\n\n## Dependencies\n\n  - geerlingguy.php\n\n## Example Playbook\n\n```yaml\n---\n- hosts: webservers\n\n  vars_files:\n    - vars/main.yml\n\n  roles:\n    - geerlingguy.php-pear\n```\n\n*Inside `vars/main.yml`*:\n\n```yaml\nphp_pear_channels:\n  - pear.phpunit.de\n\nphp_pear_libraries:\n  - phpunit/PHPUnit\n```\n\n## TODO\n\n  - Continue refining the `changed`/`failed` conditions for PEAR. Yuck.\n\n## License\n\nMIT / BSD\n\n## Author Information\n\nThis role was created in 2014 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-php-pear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fansible-role-php-pear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-php-pear/lists"}