Skip to content

Commit 1ae0ef6

Browse files
committed
Documentation
1 parent 95207e5 commit 1ae0ef6

File tree

3 files changed

+9
-34
lines changed

3 files changed

+9
-34
lines changed

README.md

Lines changed: 8 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,21 @@
1-
# My Awesome Project
1+
Development web server for serverless-native PHP web apps.
22

3-
This is the catchphrase: what does this project do and how is it unique?
4-
5-
[![Build Status](https://img.shields.io/travis/com/PHP-DI/PHP-DI/master.svg?style=flat-square)](https://travis-ci.com/PHP-DI/PHP-DI)
6-
[![Latest Version](https://img.shields.io/github/release/PHP-DI/PHP-DI.svg?style=flat-square)](https://packagist.org/packages/PHP-DI/php-di)
7-
[![Total Downloads](https://img.shields.io/packagist/dt/PHP-DI/PHP-DI.svg?style=flat-square)](https://packagist.org/packages/PHP-DI/php-di)
8-
9-
Here is an additional quick introduction, if necessary.
3+
**This project is currently experimental and the documentation incomplete.**
104

115
## Why?
126

13-
Why does this project exist? Come on, don't delete this part. Fill it.
14-
Yes it's hard, but it's perhaps the most important part of the README.
15-
16-
As to why *this* project exist, it's to serve as a template for future open
17-
source PHP projects. Of course, feel free to fork it and make your own recipe.
7+
This web server is meant for HTTP applications implemented without framework, using API Gateway as the router and PSR-15 controllers.
188

199
## Installation
2010

21-
Describe how to install the project/library/framework/…
22-
23-
Make sure your installation instructions work by testing them!
11+
```bash
12+
composer require --dev bref/dev-server
13+
```
2414

2515
## Usage
2616

27-
Describe how to use the project. A gif or a short code example is the best
28-
way to show how it works. Also keep paragraphs short and sentences simple: not
29-
everybody speaks english well.
30-
31-
For the sake of the example here is how you can use this project template
32-
as a basis for your own repository:
17+
Run the webserver with:
3318

3419
```bash
35-
git clone https://github.com/mnapoli/project-template.git my-project
36-
cd my-project
37-
# Remove the git repository metadata
38-
rm -rf .git/
39-
# Start a brand new repository
40-
git init
41-
git add .
20+
php -S 127.0.0.1:8000 vendor/bin/bref-dev-server
4221
```
43-
44-
Easy peasy! Now you just have to code.
45-
46-
Make sure your examples work by testing them! I didn't test mine and I should feel ashamed.
File renamed without changes.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66
"type": "library",
77
"bin": [
8-
"bin/dev-server"
8+
"bin/bref-dev-server"
99
],
1010
"autoload": {
1111
"psr-4": {

0 commit comments

Comments
 (0)