Depending on whether you have installed composer globally or locally.
php composer.phar create-project slim/slim-skeleton {my-app-name}
composer create-project slim/slim-skeleton {my-app-name}
If you are running a webserver (ex. Apache or nginx) point your virtualhost document root to your new applications public folder ex. {my-app-name}/public
.
Ensure logs/
is writeable by your webserver setup.
You can also run the whole shebang in dev mode with:
php composer.phar start
composer start
Credit: Rob Allen @akrabat and the SlimPHP team.
PS: I take absolutely NO credit for this. Almost verbatim from slimphp/Slim-Skeleton