gallu / slim4-skeleton
A Slim Framework skeleton application for rapid business use development
v1.0.2
2023-02-21 08:23 UTC
Requires
- php: ^7.4 || ^8.0
- gallu/slim-littie-tools: ^v1.0
- monolog/monolog: ^2.0
- slim/csrf: ^1.0
- slim/slim: ^4.0
- twig/twig: ^3.0
This package is auto-updated.
Last update: 2024-10-28 16:42:50 UTC
README
Install the Application
Run this command from the directory in which you want to install your new Slim Framework application.
php composer.phar create-project gallu/slim4-skeleton [my-app-name]
Replace [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. - Ensure
logs/
is web writeable.
To run the application in development, you can run these commands
cd [my-app-name]
php composer.phar start
Run this command in the application directory to run the test suite
php composer.phar test
That's it! Now go build something cool.