{"id":24658445,"url":"https://github.com/modess/php-jenkins","last_synced_at":"2025-03-21T05:12:51.645Z","repository":{"id":5478918,"uuid":"6675866","full_name":"modess/php-jenkins","owner":"modess","description":"Boilerplate for setting up continuos integration of PHP applications using Jenkins","archived":false,"fork":false,"pushed_at":"2017-02-02T13:51:59.000Z","size":23,"stargazers_count":143,"open_issues_count":1,"forks_count":44,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-26T01:35:26.607Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/modess.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}},"created_at":"2012-11-13T18:52:12.000Z","updated_at":"2024-06-08T07:39:33.000Z","dependencies_parsed_at":"2022-08-06T18:16:05.529Z","dependency_job_id":null,"html_url":"https://github.com/modess/php-jenkins","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modess%2Fphp-jenkins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modess%2Fphp-jenkins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modess%2Fphp-jenkins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modess%2Fphp-jenkins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modess","download_url":"https://codeload.github.com/modess/php-jenkins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739963,"owners_count":20501992,"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":[],"created_at":"2025-01-26T01:35:29.479Z","updated_at":"2025-03-21T05:12:51.626Z","avatar_url":"https://github.com/modess.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-jenkins\n\nBoilerplate for setting up continuous integration of PHP applications using [Jenkins](http://www.jenkins-ci.org). \n\n## Installation / setup\n\nClone or [download](https://github.com/modess/php-jenkins/archive/master.zip) the files and directories, and add them to your repository.\n\nConfigure your source and test directories in:\n\n**build.xml**\n```\n[...]\n\u003cproperty name=\"src-dir\" value=\"${basedir}/src\" /\u003e\n[...]\n```\n\n**phpunit.xml.dist**\n```\n[...]\n\u003cdirectory\u003e./tests/\u003c/directory\u003e\n[...]\n\u003cdirectory\u003e./src/\u003c/directory\u003e\n[...]\n```\n\n**build/phpdox.xml**\n```\n[...]\n\u003cproject name=\"Example\" source=\"src\" workdir=\"${basedir}/api/xml\"\u003e\n[...]\n```\n\n## Build Targets\nHere are the list of build targets that are defined within the build.xml:\n\n* **build** *(DEFAULT)*\n* **build-clean**\n* **build-parallel**\n* **build-parallel-clean**\n* **build-common**\n* **tools-parallel** - Run tools in parallel\n* **clean** - Cleanup build and composer artifacts\n* **clean-build** - Cleanup build artifacts\n* **clean-composer** - Cleanup composer artifacts\n* **composer** - Install or update dependencies\n* **composer.check**\n* **composer-install** - Installing dependencies\n* **composer-update** - Updating dependencies\n* **lint** - Perform syntax check of sourcecode files\n* **pdepend** - Calculate software metrics using PHP_Depend\n* **phpcb** - Aggregate tool output with PHP_CodeBrowser\n* **phpcpd** - Find duplicate code using PHPCPD\n* **phpcs** - Find coding standard violations using PHP_CodeSniffer and print human readable output. Intended for usage on the command line before committing\n* **phpcs-ci** - Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server\n* **phpdox** - Generate API documentation using phpDox\n* **phploc** - Measure project size using PHPLOC\n* **phpmd** - Perform project mess detection using PHPMD and print human readable output. Intended for usage on the command line before committing.\n* **phpmd-ci** - Perform project mess detection using PHPMD creating a log file for the continuous integration server\n* **phpunit** - Run unit tests with PHPUnit\n* **prepare** - Prepare for build\n\n### References\n\nThis boilerplate comes from glueing together a collection of post on the internet\n\n* [https://modess.io/continuous-integration-for-laravel-with-jenkins-and-git/](https://modess.io/continuous-integration-for-laravel-with-jenkins-and-git/)\n* [http://chris.schalenborgh.be/2013/04/05/deploy-php-projects-jenkins-os/](http://chris.schalenborgh.be/2013/04/05/deploy-php-projects-jenkins-os/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodess%2Fphp-jenkins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodess%2Fphp-jenkins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodess%2Fphp-jenkins/lists"}