mudge/engine-skeleton

A starter kit for a web application written with Engine

dev-master 2018-01-01 16:07 UTC

This package is not auto-updated.

Last update: 2024-12-08 06:04:13 UTC


README

This is a starter kit for a web application written with Engine.

Current version: Unreleased
Supported PHP versions: 7.1, 7.2

Creating an Engine project

$ composer create-project mudge/engine-skeleton:dev-master my-project

Running a development server

$ cd my-project
$ php -S localhost:8080 -t public

Now go to http://localhost:8080 and you should see a welcome page from Engine.

Running tests

$ ./vendor/bin/phpunit

Adding your own code

  • Add your tests to tests
  • Add your controllers to src and route requests to them in public/index.php
  • Add your own templates to templates
  • Add your own static files to public
  • Replace this README with something meaningful for your application