{"id":20678892,"url":"https://github.com/phpgt/build","last_synced_at":"2026-04-08T00:01:21.260Z","repository":{"id":26423332,"uuid":"108844112","full_name":"phpgt/Build","owner":"phpgt","description":"Client-side build system for PHP projects.","archived":false,"fork":false,"pushed_at":"2026-03-03T10:39:20.000Z","size":277,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-03T13:45:46.120Z","etag":null,"topics":["build-automation","build-pipelines","build-system","build-tool","es6","es7","phpgt","scss"],"latest_commit_sha":null,"homepage":"https://www.php.gt/build","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/phpgt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["phpgt"]}},"created_at":"2017-10-30T11:54:45.000Z","updated_at":"2026-03-03T10:39:24.000Z","dependencies_parsed_at":"2024-03-04T11:31:46.610Z","dependency_job_id":"0f70d7e2-484d-4d81-a6b5-249f9ff8c4db","html_url":"https://github.com/phpgt/Build","commit_stats":{"total_commits":139,"total_committers":4,"mean_commits":34.75,"dds":0.3381294964028777,"last_synced_commit":"1fd9a16b90f0d72bb7b0a493ba8f070aa114504c"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/phpgt/Build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpgt%2FBuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpgt%2FBuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpgt%2FBuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpgt%2FBuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpgt","download_url":"https://codeload.github.com/phpgt/Build/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpgt%2FBuild/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31533824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["build-automation","build-pipelines","build-system","build-tool","es6","es7","phpgt","scss"],"created_at":"2024-11-16T21:22:58.467Z","updated_at":"2026-04-08T00:01:21.254Z","avatar_url":"https://github.com/phpgt.png","language":"PHP","funding_links":["https://github.com/sponsors/phpgt"],"categories":[],"sub_categories":[],"readme":"Client-side build system for PHP projects.\n==========================================\n\nThis project provides a system for defining and running client-side build processes automatically, using tools already installed by your favourite client-side dependency manager.\n\n***\n\n\u003ca href=\"https://github.com/PhpGt/Build/actions\" target=\"_blank\"\u003e\n\t\u003cimg src=\"https://badge.status.php.gt/build-build.svg\" alt=\"Build status\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://app.codacy.com/gh/PhpGt/Build\" target=\"_blank\"\u003e\n\t\u003cimg src=\"https://badge.status.php.gt/build-quality.svg\" alt=\"Code quality\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://app.codecov.io/gh/PhpGt/Build\" target=\"_blank\"\u003e\n\t\u003cimg src=\"https://badge.status.php.gt/build-coverage.svg\" alt=\"Code coverage\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/PhpGt/Build\" target=\"_blank\"\u003e\n\t\u003cimg src=\"https://badge.status.php.gt/build-version.svg\" alt=\"Current version\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"http://www.php.gt/Build\" target=\"_blank\"\u003e\n\t\u003cimg src=\"https://badge.status.php.gt/build-docs.svg\" alt=\"PHP.G/Build documentation\" /\u003e\n\u003c/a\u003e\n\nExample usage\n-------------\n\nAn example `build.json` below shows three different usages:\n\n1) `npm` has been used to install babel into the node_modules directory. The command to run is the `babel` binary within the node_modules directory. The command will execute whenever a `*.es6` file changes within the script directory.\n2) `sass` has been installed to the system. The `sass` command is available on the environment PATH, and the developer has stated that at least version 3.5 is required for the build. The command will execute whenever a `*.scss` file changes within the style directory.\n3) A custom PHP script is called whenever any HTML or PHP file is edited in the page directory. This assumes that the command `vendor/bin/sitemap` is installed via a composer package.\n\n`build.json`:\n\n```json\n{\n\t\"script/**/*.es6\": {\n\t\t\"name\": \"Babel transpile\",\n\t\t\"command\": \"./node_modules/.bin/babel\",\n\t\t\"args\": \"script/main.js -o www/script.js\",\n\t\t\"require\": {\n\t\t\t\"node\": \"^8.4\",\n\t\t\t\"@command\": \"^6.0\"\n\t\t}\n\t},\n\t\n\t\"style/**/*.scss\": {\n\t\t\"name\": \"Sass compilation\",\n\t\t\"command\": \"sass\",\n\t\t\"args\": \"style/main.scss www/style.css\",\n\t\t\"require\": {\n\t\t\t\"@command\": \"\u003e=3.5\"\n\t\t}\n\t},\n\t\n\t\"page/**/*.{html|php}\": {\n\t\t\"name\": \"Sitemap generation\",\n\t\t\"command\": \"php vendor/bin/sitemap\",\n\t\t\"args\": \"src/page www/sitemap.xml\"\n\t}\n}\n```\n\nNot a dependency manager\n------------------------\n\nThis library assumes the configuration of the system is already configured.\n\nThe primary objective is to provide a client-side build system that is automatically configured for PHP projects, leaving the configuration of the system down to the developer's choice of client-side dependency management software.\n\nFeatures at a glance\n--------------------\n\n+ One-off builds\n+ Background builds (watching the matching files and re-building where necessary)\n+ Bring your own client-side dependency manager\n\n# Proudly sponsored by\n\n[JetBrains Open Source sponsorship program](https://www.jetbrains.com/community/opensource/)\n\n[![JetBrains logo.](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg)](https://www.jetbrains.com/community/opensource/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpgt%2Fbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpgt%2Fbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpgt%2Fbuild/lists"}