{"id":23193774,"url":"https://github.com/vukanac/ci-base-php","last_synced_at":"2026-04-15T07:32:46.018Z","repository":{"id":78203565,"uuid":"135185712","full_name":"vukanac/ci-base-php","owner":"vukanac","description":"CI with PHP and TravisCI","archived":false,"fork":false,"pushed_at":"2020-02-27T09:52:23.000Z","size":241,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T07:41:31.729Z","etag":null,"topics":["ci","ci-cd","codecoverage","php","phpcs-phpcbf","phpunit","travis-ci"],"latest_commit_sha":null,"homepage":null,"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/vukanac.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-05-28T16:36:09.000Z","updated_at":"2020-02-27T09:52:22.000Z","dependencies_parsed_at":"2023-03-08T17:15:28.294Z","dependency_job_id":null,"html_url":"https://github.com/vukanac/ci-base-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vukanac/ci-base-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vukanac%2Fci-base-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vukanac%2Fci-base-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vukanac%2Fci-base-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vukanac%2Fci-base-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vukanac","download_url":"https://codeload.github.com/vukanac/ci-base-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vukanac%2Fci-base-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266019657,"owners_count":23864916,"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":["ci","ci-cd","codecoverage","php","phpcs-phpcbf","phpunit","travis-ci"],"created_at":"2024-12-18T13:12:18.368Z","updated_at":"2025-10-18T08:18:05.987Z","avatar_url":"https://github.com/vukanac.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project: CI Base PHP with TravisCI\n\n[![Build Status](https://travis-ci.org/vukanac/ci-base-php.svg?branch=master)](https://travis-ci.org/vukanac/ci-base-php)\n[![Coverage Status - codecov](https://codecov.io/gh/vukanac/ci-base-php/branch/master/graph/badge.svg)](https://codecov.io/gh/vukanac/ci-base-php)\n[![Coverage Status - coveralls](https://coveralls.io/repos/github/vukanac/ci-base-php/badge.svg?branch=master)](https://coveralls.io/github/vukanac/ci-base-php?branch=master)\n[![Analysis - CodeFactor](https://www.codefactor.io/repository/github/vukanac/ci-base-php/badge/master)](https://www.codefactor.io/repository/github/vukanac/ci-base-php/overview/master)\n\n\n## Description\n\n\u003e CI with PHP and TravisCI\n\nCode is hosted on *GitHub* and tests are run on *TravisCI* on every push to `master` branch.\n\nThe code coverage reports are uploaded to [codecov.io](https://codecov.io/gh/vukanac/ci-base-php).\n\nThis is base set of tools that help writing PHP code.\n\nThey are not obligatory but they are great help!\n\n\n## Test and Development\n\n### Infection\n\n* https://infection.github.io\n\nInstall:\n\n    composer global require infection/infection\n\nor\n\n    brew install infection\n\nRun:\n\n    infection\n\n\n### PHP CS/CBF/CPD tools\n\nThey will help you to write code with consistent style (quotation, indentation, unused variable, ...).\n\n* phpcs\n* phpcbf\n* phpcpd\n\n\n### PHPstan ##\n\nThe PHP Static Analysis tool.\n\n    $ vendor/bin/phpstan analyse src tests\n\nAdded strict rules with:\n\n* https://github.com/thecodingmachine/phpstan-strict-rules\n\n\n#### PHP psalm\n\n    composer require --dev vimeo/psalm\n    ./vendor/bin/psalm --init\n    ./vendor/bin/psalm\n\n\n#### Ceveralls (with php)\n\n    composer require --dev php-coveralls/php-coveralls\n    pecl install xdebug\n    ./vendor/bin/phpunit\n\n\n### The best use\n\nInstall plugins to Sublime Text 3:\n\n* SublimeLinter\n* SublimeLinter-phpcs\n* SublimeLinter-phpcs-formatter\n\n\nOptional:\n\n* DocBlockr\n* FileManager\n* GitGutter\n* Pretty JSON\n* SublimeLinter-annotations\n\n\n## Install\n\n\n    git clone https://github.com/vukanac/ci-base-php.git phpstarter\n    cd phpstarter\n    composer install\n\n\n## Start dev\n\n    composer test\n\nor\n\n    composer ci\n\nWatching for changes:\n    ./vendor/bin/phpunit-watcher --watch\n\n\n## Test\n\n    composer test\n    ./vendor/bin/phpunit\n\n\n## License\n\nMIT\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fvukanac%2Fci-base-php.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fvukanac%2Fci-base-php?ref=badge_large)\n\nVladimir Vukanac\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvukanac%2Fci-base-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvukanac%2Fci-base-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvukanac%2Fci-base-php/lists"}