{"id":19349253,"url":"https://github.com/efrane/conditional-process","last_synced_at":"2025-02-24T10:19:13.136Z","repository":{"id":56975531,"uuid":"51310676","full_name":"eFrane/conditional-process","owner":"eFrane","description":"Conditionally run processes","archived":false,"fork":false,"pushed_at":"2017-10-10T13:08:23.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-06T15:18:45.256Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eFrane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-08T16:43:09.000Z","updated_at":"2016-02-08T16:45:23.000Z","dependencies_parsed_at":"2022-08-21T07:40:32.735Z","dependency_job_id":null,"html_url":"https://github.com/eFrane/conditional-process","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/eFrane%2Fconditional-process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eFrane%2Fconditional-process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eFrane%2Fconditional-process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eFrane%2Fconditional-process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eFrane","download_url":"https://codeload.github.com/eFrane/conditional-process/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240457988,"owners_count":19804489,"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-11-10T04:25:27.564Z","updated_at":"2025-02-24T10:19:13.091Z","avatar_url":"https://github.com/eFrane.png","language":"PHP","readme":"[![Build Status](https://travis-ci.org/eFrane/conditional-process.svg?branch=master)](https://travis-ci.org/eFrane/conditional-process)\n\n# Conditional Process\n\nConditionally run processes. \n\n## Installation\n\nThis package is available on composer. You can install it with\n`composer require efrane/conditional-process`.\n\n## Usage\n\n```php\n$process = new ConditionalProcess('cat README.md', new FileExists('README.md'));\n\n$process-\u003eexecute($readmeText);\n\n// $readmeText will contain the contents of README.md if that file exists\n```\n\n## License\n\nThis package is available under the terms of the MIT license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefrane%2Fconditional-process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefrane%2Fconditional-process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefrane%2Fconditional-process/lists"}