This skeleton application was built for Composer.
The Slim Twig-View is still in active development and can introduce breaking changes. It is an alpha release. Of course you can use this skeleton, but be warned. As soon as you update the Slim Twig-View, you might have to modify your code.
Run this command from the directory in which you want to install your new Slim4 Framework application.
composer create-project adriansuter/slim4-skeleton [my-app-name]
[my-app-name] with the desired directory name for your new application.
You'll want to:
- Point your virtual host document root to your new application's
public/directory. (Virtual host is the mandatory way to access to your project. If you try to access directly from the container folder you will encounter an error)
logs/are web writable.
To run the application in development, you can run these commands
cd [my-app-name] composer start
That's it! Now go build something cool.