{"id":15625839,"url":"https://github.com/fancyguy/webroot-installer","last_synced_at":"2025-04-06T06:09:03.881Z","repository":{"id":6658364,"uuid":"7902930","full_name":"fancyguy/webroot-installer","owner":"fancyguy","description":"Composer Installer for packages that live in the webroot of a project.","archived":false,"fork":false,"pushed_at":"2018-06-09T14:06:23.000Z","size":10,"stargazers_count":125,"open_issues_count":5,"forks_count":22,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-29T15:18:48.710Z","etag":null,"topics":["composer","composer-installer","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fancyguy.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}},"created_at":"2013-01-29T22:43:20.000Z","updated_at":"2024-09-20T19:01:45.000Z","dependencies_parsed_at":"2022-09-21T21:41:43.055Z","dependency_job_id":null,"html_url":"https://github.com/fancyguy/webroot-installer","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/fancyguy%2Fwebroot-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancyguy%2Fwebroot-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancyguy%2Fwebroot-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancyguy%2Fwebroot-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fancyguy","download_url":"https://codeload.github.com/fancyguy/webroot-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441052,"owners_count":20939239,"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":["composer","composer-installer","php"],"created_at":"2024-10-03T10:06:29.858Z","updated_at":"2025-04-06T06:09:03.866Z","avatar_url":"https://github.com/fancyguy.png","language":"PHP","readme":"# A Webroot [Composer](http://getcomposer.org) Library Installer\n\n[![Build Status](https://travis-ci.org/fancyguy/webroot-installer.png?branch=master)](https://travis-ci.org/fancyguy/webroot-installer)\n\nThis is for PHP packages that support composer to configure in their `composer.json`.  It will\nallow a root package to define a webroot directory and webroot package and magically install it\nin the correct location.\n\n## Example `composer.json` File\n\n``` json\n{\n    \"name\": \"fancyguy/www-fancyguy-com\",\n    \"description\": \"Package to build www.fancyguy.com\",\n    \"authors\": [\n        {\n            \"name\": \"Steve Buzonas\",\n            \"email\": \"steve@fancyguy.com\"\n        }\n    ],\n    \"repositories\": [\n        {\n            \"type\": \"package\",\n            \"package\": {\n                \"name\": \"wordpress/wordpress\",\n                \"type\": \"webroot\",\n                \"version\": \"4.5.1\",\n                \"dist\": {\n                    \"type\": \"zip\",\n                    \"url\": \"https://wordpress.org/wordpress-4.5.1-no-content.zip\"\n                },\n                \"require\": {\n                    \"fancyguy/webroot-installer\": \"^1.0\"\n                }\n            }\n        }\n    ],\n    \"require\": {\n        \"wordpress/wordpress\": \"4.5.*\"\n    },\n    \"extra\": {\n        \"webroot-dir\": \"content\",\n        \"webroot-package\": \"wordpress/wordpress\"\n    }\n}\n```\n\nThis would install the defined `wordpress/wordpress` package in the `content` directory of the project.\n\n## Warning\n\nSetting the `webroot-dir` to a non-empty directory will delete the contents in most cases.  It is recommended to use a clean target within your project directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancyguy%2Fwebroot-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffancyguy%2Fwebroot-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancyguy%2Fwebroot-installer/lists"}