GithubHelp home page GithubHelp logo

dheia / composer-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from contao-community-alliance/composer-client

0.0 0.0 0.0 866 KB

This is the Contao Composer Client

Home Page: http://de.contaowiki.org/Composer

JavaScript 0.97% PHP 94.68% CSS 4.35%

composer-client's Introduction

Version ![Stable Build Status](http://img.shields.io/travis/contao-community-alliance/composer-client/master.svg?style=flat-square&label=stable build) ![Upstream Build Status](http://img.shields.io/travis/contao-community-alliance/composer-client/develop.svg?style=flat-square&label=dev build) License Downloads

Composer integration for Contao

Module which loads the Composer autoloader, creates initial composer.json and provides a back end client.

Back end module

Installation

Checkout repository

Checkout this repository and link it to system/modules (initial)

cd /path/to/my/project/documentroot
git clone [email protected]:contao-community-alliance/composer-client.git composer/vendor/contao-community-alliance/composer
cd system/modules
ln -s ../../composer/vendor/contao-community-alliance/composer/src/system/modules/\!composer .
cd ../..
Contao page request

Do a normal page request, this will prepare the folder structure and the default composer.json

Download Composer (the manual way)

Download Composer as explained here: http://getcomposer.org/doc/00-intro.md#downloading-the-composer-executable

cd composer
curl -sS https://getcomposer.org/installer | php
Download Composer (with back end client)

Just call the back end client from the menu, it will tell you that Composer is not installed and install it automatically.

Add some vendors (the manual way)

Open the composer/composer.json in your prefered editor and add some dependencies as explained here: http://getcomposer.org/doc/04-schema.md

{
    "require": {
        "bit3/contao-nested-menu": "dev-master"
    }
}
Add some vendors (with back end client)
Via integrated search

Type your keyword or package name into the search field and press the search button.

Package search

Select your package and click the "mark to install" button on the right. Select prefered version and version contraint to install.

Package details view

Via integrated editor

Advanced editor

Click on "advanced mode" in the back end client and add some dependencies as explained here: http://getcomposer.org/doc/04-schema.md

"require": {
    ...
   "bit3/contao-nested-menu": "dev-master" 
}
Install the vendors (the manual way)

Tell composer to download the configured vendors

php composer.phar install
Install the vendors (with back end client)

Click on "updated packages" and just wait until Composer finished installation.

Requirements

  • PHP 5.3.4 or higher
  • Contao 2.11.* or Contao 3.1.* or higher

Attribution

For developers

Compile SCSS

$ cd 'src/system/modules/!composer/assets/css'
$ scss --no-cache --update --style compressed backend.scss

composer-client's People

Contributors

tristanlins avatar discordier avatar dominikzogg avatar bottich avatar backbone87 avatar baumannsven avatar andreasisaak avatar frontendschlampe avatar fritzmg avatar zeromax avatar davidmaack avatar leofeyer avatar syzn avatar vkoop avatar toflar avatar xchs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.