Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/studioartcz/sl_composer
Sunlight CMS extend which brings support for composer autoloader
https://github.com/studioartcz/sl_composer
composer czech-republic sunlightcms
Last synced: 2 months ago
JSON representation
Sunlight CMS extend which brings support for composer autoloader
- Host: GitHub
- URL: https://github.com/studioartcz/sl_composer
- Owner: studioartcz
- License: mit
- Created: 2017-10-04T14:32:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-04T16:05:11.000Z (over 7 years ago)
- Last Synced: 2024-04-14T11:09:35.809Z (10 months ago)
- Topics: composer, czech-republic, sunlightcms
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Composer for SunLight CMS 7.5.x
Yeah, we are create composer support for this legacy system.
## Install instructions
1. save this json to your site root and as `composer.json`:
```
{
"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
}
}
```2. create (edit) file `.gitignore` in project root contains:
```
vendor/*
bin
config.php
.idea
data/*
!data/cron.lock
!data/installer
pictures/*
!pictures/pr
!pictures/avatars
!pictures/web
upload/*
# composer plugins
plugins/extend/composer
```3. open command line at path where you have project's root
4. type: `composer install studioartcz/sl_composer master-dev`
5. yeah and you have composer your lucky human!