Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/inroutephp/example-app
- Owner: inroutephp
- Created: 2018-12-06T21:41:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-24T14:24:32.000Z (almost 5 years ago)
- Last Synced: 2024-03-26T23:20:02.987Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)