{"id":16771068,"url":"https://github.com/mcg-web/promise-factory","last_synced_at":"2025-03-16T15:36:18.813Z","repository":{"id":62526160,"uuid":"73618868","full_name":"mcg-web/promise-factory","owner":"mcg-web","description":"This library tries to create a simple promise factory standard while waiting for a psr. It Comes out of the box with factory for ReactPhp/Promise and Guzzle/Promises.","archived":false,"fork":false,"pushed_at":"2017-02-02T16:10:03.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T02:34:09.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/mcg-web.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-13T13:52:34.000Z","updated_at":"2016-11-24T18:33:50.000Z","dependencies_parsed_at":"2022-11-02T14:30:37.450Z","dependency_job_id":null,"html_url":"https://github.com/mcg-web/promise-factory","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcg-web%2Fpromise-factory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcg-web%2Fpromise-factory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcg-web%2Fpromise-factory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcg-web%2Fpromise-factory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcg-web","download_url":"https://codeload.github.com/mcg-web/promise-factory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243891898,"owners_count":20364604,"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-13T06:26:40.663Z","updated_at":"2025-03-16T15:36:18.766Z","avatar_url":"https://github.com/mcg-web.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PromiseFactory\n\nThis library tries to create a simple promise factory standard while waiting for a psr.\nIt Comes out of the box with factory for [ReactPhp/Promise](https://github.com/reactphp/promise) and [Guzzle/Promises](https://github.com/guzzle/promises).\n\n[![Build Status](https://travis-ci.org/mcg-web/promise-factory.svg?branch=master)](https://travis-ci.org/mcg-web/promise-factory)\n[![Coverage Status](https://coveralls.io/repos/github/mcg-web/promise-factory/badge.svg?branch=master)](https://coveralls.io/github/mcg-web/promise-factory?branch=master)\n[![Latest Stable Version](https://poser.pugx.org/mcg-web/promise-factory/version)](https://packagist.org/packages/mcg-web/promise-factory)\n[![License](https://poser.pugx.org/mcg-web/promise-factory/license)](https://packagist.org/packages/mcg-web/promise-factory)\n\n## Getting Started\n\nFirst, install PromiseFactory using composer.\n\n```sh\ncomposer require \"mcg-web/promise-factory\"\n```\n\nOptional to use Guzzle:\n\n```sh\ncomposer require \"guzzlehttp/promises\"\n```\n\nOptional to use ReactPhp:\n\n```sh\ncomposer require \"react/promise\"\n```\n\n## Supported Factory\n\n*Guzzle*: `McGWeb\\PromiseFactory\\Factory\\GuzzleHttpPromiseFactory`\n\n*ReactPhp*: `McGWeb\\PromiseFactory\\Factory\\ReactPromiseFactory`\n\nTo use a custom Promise lib you can implement `McGWeb\\PromiseFactory\\PromiseFactoryInterface`\n\n## License\n\nMcGWeb/PromiseFactory is released under the [MIT](https://github.com/mcg-web/promise-factory/blob/master/LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcg-web%2Fpromise-factory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcg-web%2Fpromise-factory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcg-web%2Fpromise-factory/lists"}