Commit Graph

4 Commits (e8107fd96c641327cd1c9abf2ead8fbe8db741ed)

Author SHA1 Message Date
Artem Zatsarynnyi bbd0c1abb2 Introduce Intelligent Commands (#4389)
Introduce Intelligent Commands
2017-03-23 18:23:17 +02:00
Vitalii Parfonov bdac9ec5c3 Composer project generation (#3726)
* Composer project importer

Composer is a popular PHP dependency manager (similar to Bower for
Javascript). A natural way to create a new project in PHP is by
materializing it from a Composer package like this:

  composer create-project laravel/laravel /projects/laravel

The above command fetches the 'laravel/laravel' Composer package from a
central repository (https://packagist.org/) and installs it at the
/project/laravel folder. The advantage against cloning a git repository
is that `composer create-project` will install all required
dependencies.

This patch contributes a new Composer plugin that:
- Defines a Composer project importer that can import the project source
from a Composer package.
- Defines an Import Project Registrar that registers the Composer
importer into the import project wizard.

The Composer project importer uses the 'location' property of the
SourceStorage model for the package name. As result the "source" of
project templates can be defined like this:

  "source": {
    "type": "composer",
    "location": "zendframework/zend-expressive-skeleton",
    "parameters": {}
  }

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2017-01-16 14:05:08 +02:00
Mihail Kuznyetsov 0e8b21ad3f Set new license year 2017-01-04 17:10:31 +02:00
Kaloyan Raev a14c930203 Basic PHP plugin (#2160)
* Basic PHP plugin

This is the first step of providing better PHP language support in Che.
This basic plugin is created after the existing Python plugin and
provides the PHP project type and the "New PHP File" action.
Set PHP project type for Laravel, Codeigniter and Symfony templates

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2016-09-27 13:44:24 +03:00