monsieurbon / tiny-skeleton
A Tiny skeleton project
Package info
github.com/MonsieurBon/tiny-skeleton
Type:project
pkg:composer/monsieurbon/tiny-skeleton
v1.2.0
2018-12-07 06:16 UTC
Requires
- monsieurbon/tiny: ^1.0
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/.