{"id":17999660,"url":"https://github.com/skoro/php-project","last_synced_at":"2025-04-04T07:15:19.798Z","repository":{"id":183041005,"uuid":"669509873","full_name":"skoro/php-project","owner":"skoro","description":"A project skeleton in pure php","archived":false,"fork":false,"pushed_at":"2023-09-20T17:47:32.000Z","size":2747,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T18:25:14.982Z","etag":null,"topics":["php","pure-php"],"latest_commit_sha":null,"homepage":"","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/skoro.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-22T14:08:19.000Z","updated_at":"2024-07-10T15:46:54.000Z","dependencies_parsed_at":"2024-10-29T22:34:20.809Z","dependency_job_id":null,"html_url":"https://github.com/skoro/php-project","commit_stats":null,"previous_names":["skoro/php-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skoro%2Fphp-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skoro%2Fphp-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skoro%2Fphp-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skoro%2Fphp-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skoro","download_url":"https://codeload.github.com/skoro/php-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135147,"owners_count":20889421,"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":["php","pure-php"],"created_at":"2024-10-29T22:14:05.700Z","updated_at":"2025-04-04T07:15:19.768Z","avatar_url":"https://github.com/skoro.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Project skeleton\nA project skeleton in pure php. This skeleton can be used to prototype\nsome simple services where the usage of a framework is over bloated.\n\n## Getting started\nThere is two choices of running the application:\n1. php-fpm\n2. swoole\n\nAll those build by default as `app` and `app-server` containers.\n\n```shell\ndocker-compose up -d\n```\n\n## Routes\nRoutes are defined in `./src/Http/routes.php` file. The callback accepts the request method and the uri.\nOnly static routes are allowed, if you need some dynamic, please use query arguments.\n\nThe `/status` route is predefined and returns a response with some system info.\n\n## Logging\nThere are two available functions for logging:\n- `logger(string $message, array $context)` which rely on [error_log](https://www.php.net/manual/en/function.error-log.php)\n    function.\n- `report_error(\\Throwable $e, array $context)` as `logger` but also sends an exception to [Sentry](https://sentry.io)\n    when `SENTRY_DSN` constant is defined.\n\n## Documentation\n[swagger-php](http://zircote.github.io/swagger-php/) is used for generating documentation\nin OpenAPI format:\n```shell\ncomposer make-api\n```\n\n\n## Tests\n```shell\ncomposer test\ncomposer check\n```\n\n## Missing features:\n- DI\n- Advanced routing\n- Database\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskoro%2Fphp-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskoro%2Fphp-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskoro%2Fphp-project/lists"}