library sl_composer
Support for Composer
studioartcz/sl_composer
Support for Composer
- Wednesday, October 4, 2017
- by landsman
- Repository
- 1 Watchers
- 0 Stars
- 1 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Composer for SunLight CMS 7.5.x
Yeah, we are create composer support for this legacy system., (*1)
Install instructions
-
save this json to your site root and as composer.json:, (*2)
{
"name": "studioartcz/yoursite",
"type": "project",
"description": "Your site composer",
"homepage": "https://www.studioart.cz",
"private": true,
"require": {
"php": ">=5.6.0",
"sasedev/composer-plugin-filecopier": "^1.1"
},
"extra": {
"filescopier": [
{
"source": "vendor/studioartcz/sl_composer/plugins",
"destination": "plugins",
"debug": "true"
}
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"bin-dir": "bin/",
"discard-changes": true
}
}
-
create (edit) file .gitignore in project root contains:, (*3)
vendor/*
bin
config.php
.idea
data/*
!data/cron.lock
!data/installer
pictures/*
!pictures/pr
!pictures/avatars
!pictures/web
upload/*
# composer plugins
plugins/extend/composer
-
open command line at path where you have project's root, (*4)
- type:
composer install studioartcz/sl_composer master-dev
- yeah and you have composer your lucky human!