{"id":36977745,"url":"https://github.com/marcusirgens/jsend-factory","last_synced_at":"2026-01-13T22:47:01.302Z","repository":{"id":62523908,"uuid":"298261198","full_name":"marcusirgens/jsend-factory","owner":"marcusirgens","description":"JSendFactory is a PHP library for creating JSend-compliant PSR-7 requests.","archived":false,"fork":false,"pushed_at":"2020-09-25T09:21:44.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T00:44:20.058Z","etag":null,"topics":["psr-7"],"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/marcusirgens.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":"2020-09-24T11:42:41.000Z","updated_at":"2020-09-24T19:26:49.000Z","dependencies_parsed_at":"2022-11-02T10:31:25.835Z","dependency_job_id":null,"html_url":"https://github.com/marcusirgens/jsend-factory","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/marcusirgens/jsend-factory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusirgens%2Fjsend-factory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusirgens%2Fjsend-factory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusirgens%2Fjsend-factory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusirgens%2Fjsend-factory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcusirgens","download_url":"https://codeload.github.com/marcusirgens/jsend-factory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusirgens%2Fjsend-factory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28403698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["psr-7"],"created_at":"2026-01-13T22:47:00.456Z","updated_at":"2026-01-13T22:47:01.289Z","avatar_url":"https://github.com/marcusirgens.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSendFactory\n\nJSendFactory is a PHP library for creating [JSend-compliant] [PSR-7] requests.\n\n## Installation\n\nUse the package manager [composer](https://getcomposer.org/download/) to install\nthe package.\n\n```bash\ncomposer require marcusirgens/jsend-factory\n```\n\nYou will also need some [PSR-17] implementation. You can find [a list of packages\nproviding this at packagist.org](https://packagist.org/providers/psr/http-factory-implementation).\nIf you're unsure, go for [nyholm/psr7].\n\n## Usage\n\n```php\n$responseFactory = new Psr17ResponseFactory();\n$streamFactory  = new Psr17StreamFactory();\n\n$jsendFactory = \\MarcusIrgens\\JSendFactory\\JSendFactory(\n    $responseFactory,\n    $streamFactory\n);\n\n$successResponse = $jsendFactory-\u003egetSuccess([\"message\" =\u003e \"hello\"]);\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to \ndiscuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n\n[JSend-compliant]: https://github.com/omniti-labs/jsend\n[PSR-7]: https://www.php-fig.org/psr/psr-7/\n[PSR-17]: https://www.php-fig.org/psr/psr-17/\n[nyholm/psr7]: https://github.com/Nyholm/psr7","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusirgens%2Fjsend-factory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcusirgens%2Fjsend-factory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusirgens%2Fjsend-factory/lists"}