Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/inroutephp/example-app

Inroute example application.
https://github.com/inroutephp/example-app

Last synced: about 2 months ago
JSON representation

Inroute example application.

Awesome Lists containing this project

README

        

![Inroute](https://raw.githubusercontent.com/inroutephp/inroute/master/res/logo.png "Inroute")

# example-app

Simple inroute example application.

## Getting started

1. Create project and install dependencies

```shell
composer create-project inroutephp/example-app
```

2. Step into application

```shell
cd example-app
```

3. Examine the router

```shell
vendor/bin/inroute debug
```

4. Rebuild the router

```shell
vendor/bin/inroute build
```

5. Start a local server

```shell
php -S localhost:8000 public/app.php
```

6. [Open in browser](http://localhost:8000)