{"id":15168757,"url":"https://github.com/yiisoft/demo-api","last_synced_at":"2026-01-13T22:59:42.433Z","repository":{"id":37014368,"uuid":"317138735","full_name":"yiisoft/demo-api","owner":"yiisoft","description":null,"archived":true,"fork":false,"pushed_at":"2022-11-20T19:10:49.000Z","size":350,"stargazers_count":28,"open_issues_count":1,"forks_count":7,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-10-23T02:57:46.897Z","etag":null,"topics":["api","demo","demo-app","hacktoberfest","internal"],"latest_commit_sha":null,"homepage":"https://www.yiiframework.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null},"funding":{"open_collective":"yiisoft","github":["yiisoft"]}},"created_at":"2020-11-30T07:05:44.000Z","updated_at":"2023-11-29T21:42:33.000Z","dependencies_parsed_at":"2023-01-17T13:15:58.732Z","dependency_job_id":null,"html_url":"https://github.com/yiisoft/demo-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yiisoft/demo-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fdemo-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fdemo-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fdemo-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fdemo-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/demo-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fdemo-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400677,"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":["api","demo","demo-app","hacktoberfest","internal"],"created_at":"2024-09-27T06:41:32.947Z","updated_at":"2026-01-13T22:59:42.412Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://opencollective.com/yiisoft","https://github.com/sponsors/yiisoft"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cb\u003e\n        This package was closed and moved into https://github.com/yiisoft/demo.\n    \u003c/b\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    ❌\n\u003c/p\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yiisoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://yiisoft.github.io/docs/images/yii_logo.svg\" height=\"100px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eYii Framework API Demo Project\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n[![Latest Stable Version](https://poser.pugx.org/yiisoft/demo-api/v/stable.png)](https://packagist.org/packages/yiisoft/demo-api)\n[![Total Downloads](https://poser.pugx.org/yiisoft/demo-api/downloads.png)](https://packagist.org/packages/yiisoft/demo-api)\n[![Build status](https://github.com/yiisoft/demo-api/workflows/build/badge.svg)](https://github.com/yiisoft/demo-api/actions?query=workflow%3Abuild)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/yiisoft/demo-api/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/yiisoft/demo-api/?branch=master)\n[![static analysis](https://github.com/yiisoft/demo-api/workflows/static%20analysis/badge.svg)](https://github.com/yiisoft/demo-api/actions?query=workflow%3A%22static+analysis%22)\n\nAPI Demo application for Yii 3.\n\n## Installation\n\nInstall docker:\n\n```bash\ndocker-compose up -d\n```\n\nEnter into the container:\n\n```bash\ndocker exec -it yii-php bash\n```\n\nInstall packages:\n\n```bash\ncomposer install\n```\n\nChange ownership of the app directory to web group:\n\n```bash\nchown -R :www-data .\n```\n\nUsually the application is available at http://localhost:8080.\n\nAuthorization is performed via the `X-Api-Key` header.\n\n## API documentation\n\nAPI documentation is available at `/docs`. It is built from OpenAPI annotations (`@OA`).\nSee [Swagger-PHP documentation](https://zircote.github.io/swagger-php/Getting-started.html#write-annotations) for details\non how to annotate your code.\n\n## Codeception testing\n\n```php\n./vendor/bin/codecept run\n```\n\n\n## Static analysis\n\nThe code is statically analyzed with [Psalm](https://psalm.dev/). To run static analysis:\n\n```php\n./vendor/bin/psalm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fdemo-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fdemo-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fdemo-api/lists"}