Sistema web para crear proyecto web nuevo

This commit is contained in:
2020-07-03 17:21:55 -04:00
parent af3507bda5
commit ad3952501f
53 changed files with 2437 additions and 0 deletions

14
setup/common/setup.php Normal file
View File

@ -0,0 +1,14 @@
<?php
use Psr\Container\ContainerInterface as Container;
return [
ProVM\Common\Service\Composer::class => function(Container $c) {
return new ProVM\Common\Service\Composer(implode(DIRECTORY_SEPARATOR, [
$c->get('folders')->base,
'composer.json'
]));
},
ProVM\Projects\Common\Service\Projects::class => function(Container $c) {
return new ProVM\Projects\Common\Service\Projects(implode(DIRECTORY_SEPARATOR, [dirname($c->get('folders')->base), 'demos']));
}
];