{"id":17497156,"url":"https://github.com/gionniboy/phpdemo-cicd","last_synced_at":"2026-05-09T17:32:13.051Z","repository":{"id":92915252,"uuid":"131417541","full_name":"gionniboy/phpdemo-cicd","owner":"gionniboy","description":"A demo to illustrate the powerful of ci/cd pipeline: for php7 projects. Pdf slide from speech @phpusergrouppalermo","archived":false,"fork":false,"pushed_at":"2018-04-28T14:49:34.000Z","size":760,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T14:13:19.616Z","etag":null,"topics":["composer","continuous-delivery","continuous-deployment","continuous-integration","continuous-testing","gitlab-ci","php7","phpcs","phpmd","phpunit","static-code-analysis"],"latest_commit_sha":null,"homepage":null,"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/gionniboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-04-28T14:41:39.000Z","updated_at":"2018-04-30T07:14:44.000Z","dependencies_parsed_at":"2023-03-23T18:02:48.122Z","dependency_job_id":null,"html_url":"https://github.com/gionniboy/phpdemo-cicd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gionniboy/phpdemo-cicd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gionniboy%2Fphpdemo-cicd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gionniboy%2Fphpdemo-cicd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gionniboy%2Fphpdemo-cicd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gionniboy%2Fphpdemo-cicd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gionniboy","download_url":"https://codeload.github.com/gionniboy/phpdemo-cicd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gionniboy%2Fphpdemo-cicd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32828228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["composer","continuous-delivery","continuous-deployment","continuous-integration","continuous-testing","gitlab-ci","php7","phpcs","phpmd","phpunit","static-code-analysis"],"created_at":"2024-10-19T15:14:37.325Z","updated_at":"2026-05-09T17:32:13.033Z","avatar_url":"https://github.com/gionniboy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![pipeline status](https://gitlab.com/gionniboy/phpdemo-cicd/badges/master/pipeline.svg)](https://gitlab.com/gionniboy/phpdemo-cicd/commits/master)\n\n[![coverage report](https://gitlab.com/gionniboy/phpdemo-cicd/badges/master/coverage.svg)](https://gitlab.com/gionniboy/phpdemo-cicd/commits/master)\n\n# CI/CD PHP Demo\nA demo to illustrate the powerful of ci/cd pipeline: for php7 projects.\nPdf slide from speech @phpusergrouppalermo attached [here](20180426-pugpalermo.pdf).\n\n\n## gitlab-ci\nTwo stage: test and deploy.\n\nTests on devel and master. Tests and autodeploy on \"passed\" for master only.\n\nSecret envars on protected branch are used for CD:\n\nSSH_USER_DEMO, SSH_KEY_DEMO, SSH_PORT_DEMO [avoid leak]\n\nYou can see them into (.gitlab-ci.yml)[.gitlab-ci.yml]\n\nJob Template is used for mariadb service and then grafted inside jobs.\n\n\n## PHP testing \u0026 analisys\nPHPUnit, PHPCS, PHPMD, PHPMETRICS are used on pipeline to build artifacts with reports.\n\nYou can browse them through job details.\n\nAll configuration files for this tools are present in this repository.\n\nComposer is customized to be helpful too, with some scripts and post-update command.\nTry it:\n\n```console\n$ composer run-script tests\n```\nremember: first install dependencies (use composer).\n\nGuzzle is used to do functional tests on api.\n\nSimple API based on slim\u0026eloquent.\n\n### SQL\nHelpful assets to quickly bootstrap database with sample data too.\n\n### utils\nContain a based deploy script to run on demo-stage triggered by CD.\n\n\n## License\nThis project is licensed under the BSD 3-Clause License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgionniboy%2Fphpdemo-cicd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgionniboy%2Fphpdemo-cicd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgionniboy%2Fphpdemo-cicd/lists"}