{"id":18929740,"url":"https://github.com/thecodingmachine/gulp-installer","last_synced_at":"2026-01-26T18:04:47.346Z","repository":{"id":29809790,"uuid":"33354204","full_name":"thecodingmachine/gulp-installer","owner":"thecodingmachine","description":"An installer package that installs Gulp as a Composer dependency.","archived":false,"fork":false,"pushed_at":"2015-04-24T13:29:43.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"1.0","last_synced_at":"2025-10-20T06:24:45.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/thecodingmachine.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":"2015-04-03T08:20:27.000Z","updated_at":"2015-04-14T12:59:28.000Z","dependencies_parsed_at":"2022-08-28T10:02:14.398Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/gulp-installer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thecodingmachine/gulp-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fgulp-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fgulp-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fgulp-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fgulp-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/gulp-installer/tar.gz/refs/heads/1.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fgulp-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28784093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2024-11-08T11:34:49.896Z","updated_at":"2026-01-26T18:04:47.331Z","avatar_url":"https://github.com/thecodingmachine.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"[Gulp installer for Composer](http://mouf-php.com/packages/mouf/gulp-installer)\n=============================\n\nThis is an installer that will download [Gulp](http://gulpjs.com/) and install it in your PHP project.\n\nWhy?\n----\n\nBecause Gulp is an extraordinary tool to manage assets (JS, CSS, LESS, SASS, Coffeescript files....) and because \nit is not a common tool in the PHP stack.\n\nGulp is a NodeJS package. Installation is performed using NPM via the [Koala framework's composer extra assets](https://github.com/koala-framework/composer-extra-assets/) \nplugin. If NodeJS is not available on your computer, it will be downloaded and installed\nlocally, thanks to [Mouf's node-installer](https://github.com/koala-framework/composer-extra-assets/) package.\n\nUsage\n-----\n\nSimply include this package in your `composer.json` requirements:\n\n**composer.json**\n```json\n{\n    \"require\": {\n        \"mouf/gulp-installer\": \"~1.0\"\n    }\n}\n```\n\nThen, you can run Gulp using the `vendor/bin/gulp` script (`vendor\\bin\\gulp.bat` on Windows).\n\nMost of the time, you will want to install a number of plugins with Gulp. Thanks to \n[Koala framework's composer extra assets](https://github.com/koala-framework/composer-extra-assets/), you can add\nthose dependencies directly into you `composer.json` file.\n\nSample\n------\n\n**composer.json**\n```json\n{\n    \"require\": {\n        \"mouf/gulp-installer\": \"~1.0\"\n    },\n    \"extra\": {\n        \"require-npm\": {\n            \"gulp-concat\": \"~2.4.3\",\n            \"gulp-uglify\": \"~1.1.0\",\n            \"gulp-sourcemaps\": \"~1.3.0\",\n            \"gulp-livereload\": \"~3.7.0\",\n            \"gulp-minify-css\": \"~0.4.5\",\n            \"gulp-less\": \"~3.0.0\"\n        }\n    }\n}\n```\n\nA little Composer trick\n-----------------------\n\nLazy about typing \"vendor\\bin\" to run Gulp?\n\nYou can also run gulp as a Composer command. For this, you can simply declare a `gulp` in the `scripts` section:\n\n**composer.json**\n```json\n{\n    \"require\": {\n        \"mouf/gulp-installer\": \"~1.0\"\n    },\n    \"scripts\": {\n        \"gulp\": \"gulp\"\n    }\n}\n```\n\nNow, you can run gulp using the `composer gulp` command :)\n\nHey! But that package does not contain anything expect a composer.json file!\n----------------------------------------------------------------------------\n\nYup. Historically, this package used to contain a Composer plugin, but since most of the code used to generate\nthe link to `gulp` has been put in [Koala framework's composer extra assets](https://github.com/koala-framework/composer-extra-assets/),\nthis package is reduced to a mere `composer.json`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fgulp-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Fgulp-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fgulp-installer/lists"}