{"id":13404911,"url":"https://github.com/phingofficial/phing","last_synced_at":"2025-05-12T13:15:44.404Z","repository":{"id":2152730,"uuid":"3097862","full_name":"phingofficial/phing","owner":"phingofficial","description":"PHing Is Not GNU make; it's a PHP project build system or build tool based on  Apache Ant.","archived":false,"fork":false,"pushed_at":"2025-05-01T11:39:52.000Z","size":79422,"stargazers_count":1161,"open_issues_count":21,"forks_count":318,"subscribers_count":55,"default_branch":"main","last_synced_at":"2025-05-12T13:15:37.323Z","etag":null,"topics":["ant","build-automation","build-tool","make","phing","php"],"latest_commit_sha":null,"homepage":"https://www.phing.info","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phingofficial.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["mrook","siad007"],"patreon":"michielrook"}},"created_at":"2012-01-03T22:21:54.000Z","updated_at":"2025-04-26T06:54:26.000Z","dependencies_parsed_at":"2024-05-01T12:39:34.216Z","dependency_job_id":"0e469c01-ed9a-4b29-b6c9-5e41d93bf04a","html_url":"https://github.com/phingofficial/phing","commit_stats":{"total_commits":4283,"total_committers":241,"mean_commits":"17.771784232365146","dds":0.4875087555451786,"last_synced_commit":"04accd0b1ec8044d995006461501ce8980aa9b06"},"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phingofficial%2Fphing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phingofficial%2Fphing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phingofficial%2Fphing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phingofficial%2Fphing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phingofficial","download_url":"https://codeload.github.com/phingofficial/phing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745196,"owners_count":21957319,"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":["ant","build-automation","build-tool","make","phing","php"],"created_at":"2024-07-30T19:01:53.139Z","updated_at":"2025-05-12T13:15:44.313Z","avatar_url":"https://github.com/phingofficial.png","language":"PHP","funding_links":["https://github.com/sponsors/mrook","https://github.com/sponsors/siad007","https://patreon.com/michielrook","https://www.patreon.com/michielrook","https://www.paypal.me/MichielRook"],"categories":["PHP","成品软件","Ecosystem"],"sub_categories":["构建/部署","Build Tool"],"readme":"# ![Phing](https://github.com/phingofficial/phingofficial.github.io/blob/main/img/logo.gif?raw=true)\n\n [![Phing CI](https://github.com/phingofficial/phing/actions/workflows/build.yml/badge.svg)](https://github.com/phingofficial/phing/actions/workflows/build.yml)  [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/phingofficial/phing/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/phingofficial/phing/?branch=main)\n  [![codecov](https://codecov.io/gh/phingofficial/phing/branch/main/graph/badge.svg)](https://codecov.io/gh/phingofficial/phing)\n\n  Thank you for using PHING!\n\n  **PH**ing **I**s **N**ot **G**NU make; it's a PHP project build system or build tool based on Apache Ant. You can do anything with it that you could do with a traditional build system like GNU make, and its use of simple XML build files and extensible PHP \"task\" classes make it an easy-to-use and highly flexible build framework.\n\n  Features include running PHPUnit unit tests (including test result and coverage reports), file transformations (e.g. token replacement, XSLT transformation, template transformations), file system operations, interactive build support, SQL execution, SCM operations (Git, Subversion and Mercurial), documentation generation (PhpDocumentor, ApiGen) and much, much more.\n\n  If you find yourself writing custom scripts to handle the packaging, deploying, or testing of your applications, then we suggest looking at Phing. Pre-packaged with numerous out-of-the-box operation modules (tasks), and an easy-to-use OO model to extend or add your own custom tasks.\n\n  For more information and documentation, you can visit our official website at \u003chttps://www.phing.info/\u003e.\n\n## Phing 3\n\n  Phing 3 is a significant update with some breaking changes compared to Phing 2. For details, please refer to the [UPGRADING.md](UPGRADING.md) file.\n\n## Supported PHP versions\n\n  Phing 3.x is compatible with PHP 8.1 and higher.\n\n## Installation\n\n  1. **Composer**\n\n  The preferred method to install Phing is through [Composer](https://getcomposer.org/).\n  Add [phing/phing](https://packagist.org/packages/phing/phing) to the\n  require-dev or require section of your project's `composer.json`\n  configuration file, and run 'composer install':\n\n         {\n             \"require-dev\": {\n                 \"phing/phing\": \"3.1.x-dev\"\n             }\n         }\n\n  2. **Phar**\n\n  Download the [Phar archive](https://www.phing.info/get/phing-latest.phar).\n  The archive can then be executed by running:\n\n         $ php phing-latest.phar\n\n  3. **Docker** (experimental)\n\n  The official Phing Docker image can be found on [Docker Hub](https://hub.docker.com/r/phing/phing/).\n\n  To execute Phing inside a container and execute `build.xml` located in `/home/user`, run the following:\n\n         $ docker run --rm -v /home/user:/opt phing/phing:3.0 -f /opt/build.xml\n\n  4. **Phing GitHub Action**\n  \n  The official GitHub action [phingofficial/phing-github-action](https://github.com/phingofficial/phing-github-action) is available on [GitHub Marketplace](https://github.com/marketplace/actions/run-a-phing-build).\n  \n  To *Run a Phing Build* as an action, you need to setup a `.github/workflow/phing.yml` workflow file and paste the following snipped:\n\n     name: CI\n     on: [ push ]\n     jobs:\n       build-test:\n         runs-on: ubuntu-latest\n\n         steps:\n           - uses: actions/checkout@v2\n           - name: Phing Build\n             uses: phingofficial/phing-github-action@v2.0.0\n             with:\n               version: 3.0.0-alpha4\n               user-properties: prop=FooBar\n               targets: foo\n               verbose: true\n   \n   [README]([phingofficial/phing-github-action](https://github.com/phingofficial/phing-github-action)) for more info and documentation.\n\n## Documentation\n\n  Phing's documentation can be found at \u003chttps://www.phing.info/#docs\u003e.\n\n  For the source of the documentation, go to \u003chttps://github.com/phingofficial/guide\u003e.\n\n## Contact\n\n  * Twitter: [@phingofficial](https://twitter.com/phingofficial)\n  * Website: [https://www.phing.info](https://www.phing.info)\n  * Slack:   [https://phing.slack.com/](https://slack.phing.info)\n  * IRC:     Freenode, #phing\n  * GitHub:  [https://www.github.com/phingofficial/phing](https://www.github.com/phingofficial/phing)\n\n## Donations\n\nDeveloping and maintaining Phing has cost many hours over the years. If you want to show your appreciation, you can use one of the following methods to donate something to the project maintainer, Michiel Rook:\n\n  * Become a patron on [Patreon](https://www.patreon.com/michielrook)\n  * [Flattr](https://flattr.com/thing/1350991/The-Phing-Project) Phing\n  * Send money via [PayPal](https://www.paypal.me/MichielRook)\n  * Choose something from the [Amazon Wishlist](https://www.amazon.com/hz/wishlist/ls/10DZLPG9U429I)\n\nThank you!\n\n### Help us spot \u0026 fix bugs\n\nWe greatly appreciate it when users report issues or come up with feature requests. However, there are a few guidelines you should observe before submitting a new issue:\n\n  * Make sure the issue has not already been submitted, by searching through the list of (closed) issues.\n  * Support and installation questions should be asked on Twitter, Slack or IRC, not filed as issues.\n  * Give a good description of the problem, this also includes the necessary steps to reproduce the problem!\n  * If you have a solution - please tell us! This doesn't have to be code. We appreciate any snippets, thoughts, ideas, etc that can help us resolve the issue.\n\nIssues can be reported on [GitHub](https://github.com/phingofficial/phing/issues).\n\n### Pull requests\n\nThe best way to submit code to Phing is to [make a Pull Request on GitHub](https://help.github.com/articles/creating-a-pull-request).\nPlease help us merge your contribution quickly and keep your pull requests clean and concise: squash commits and don't introduce unnecessary (whitespace) changes.\n\nPhing's source code is formatted according to the PSR-2 standard.\n\n### Running the (unit) tests\n\nIf you'd like to contribute code to Phing, please make sure you run the tests before submitting your pull request. To successfully run all Phing tests, the following conditions have to be met:\n\n  * PEAR installed, channel \"pear.phing.info\" discovered\n  * Packages \"python-docutils\" and \"subversion\" installed\n  * php.ini setting \"phar.readonly\" set to \"Off\"\n\nThen, perform the following steps (on a clone/fork of Phing):\n\n         $ composer install\n         $ cd tests\n         $ ../bin/phing\n\n## Licensing\n\n  This software is licensed under the terms you may find in the file\n  named \"LICENSE\" in this directory.\n\nProud to use:\n\n[![PhpStorm Logo](https://resources.jetbrains.com/storage/products/company/brand/logos/PhpStorm.svg \"Proud to use\")](https://www.jetbrains.com/phpstorm)\n\n## Contributing\n\nWe love contributions!\n\nThanks to all the people who already contributed!\n\n\u003ca href=\"https://github.com/phingofficial/phing/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contributors-img.web.app/image?repo=phingofficial/phing\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphingofficial%2Fphing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphingofficial%2Fphing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphingofficial%2Fphing/lists"}