gallu/slim4-skeleton

A Slim Framework skeleton application for rapid business use development

v1.0.2 2023-02-21 08:23 UTC

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.