14 lines
492 B
PHP
14 lines
492 B
PHP
<?php
|
|
use ProVM\Projects\Common\Controller\API\Create;
|
|
|
|
$app->group('/create/{project}', function($app) {
|
|
$app->get('/folder', [Create::class, 'createFolder']);
|
|
$app->get('/subfolders', [Create::class, 'createSubfolders']);
|
|
$app->post('/composer', [Create::class, 'addComposer']);
|
|
$app->get('/files', [Create::class, 'addFiles']);
|
|
$app->group('/git', function($app) {
|
|
$app->get('/init', [Create::class, 'gitInit']);
|
|
$app->get('/push', [Create::class, 'gitPush']);
|
|
});
|
|
});
|