Slim 4 skeleton with basic parallax homepages
clone to your htdocs
git clone <link>composer create-project cvar1984/slim:dev-master --prefer-distmove everything to /var/www/html (webroot)
then go to /var/www/html and install depencies
composer install --no-dev
yarn installedit /var/www/html/app/container.php
comment this
// $app->setBasepath();start your webservice like apache or something like
php -S 127.0.0.1:8080 -t /var/www/html/publicclone to your htdocs
git clone <link>composer create-project cvar1984/slim:dev-master custom --prefer-distmove everything to /var/www/html/custom (webroot)
then go to /var/www/html/custom and install depencies
composer install --no-dev
yarn installedit /var/www/html/app/container.php
do this
$app->setBasepath('/custom');start your webservice like apache or something like
php -S 127.0.0.1:8080 -t /var/www/html/custom/public