monsieurbon/tiny-skeleton

A Tiny skeleton project

v1.2.0 2018-12-07 06:16 UTC

This package is auto-updated.

Last update: 2024-04-07 18:01:06 UTC


README

This is a skeleton application to quickly start a new project with the Tiny PHP framework. Use composer to create a new project.

Create new Project

Run this command from the directory in which you want to create the project

php composer.phar create-project monsieurbon/tiny-skeleton [new-app-name]

Replace [new-app-name] with the directory name for your new application.

Webserver

Built-in PHP webserver

To start using the skeleton application run

php -S 127.0.0.1:8080 -t web/ web/index.php

This will start the hello world application. Point your browser at http://localhost:8080/hello/World.

Apache, Nginx, etc.

Make sure you configure your webroot to be web/.