Skip to content

Sunlight CMS extend which brings support for composer autoloader

License

Notifications You must be signed in to change notification settings

studioartcz/sl_composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Sunlight CMS extend which brings support for composer autoloader

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages