Skip to content

Commit f8f930b

Browse files
committed
Add links and update version
1 parent b1ae1e8 commit f8f930b

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# PHP Server
22

3+
[![Latest release](https://img.shields.io/github/release/natanfelles/php-server.svg?colorB=green&label=Latest%20release&style=popout)](https://github.com/natanfelles/php-server/releases)
4+
[![PHP version](https://img.shields.io/packagist/php-v/natanfelles/php-server.svg?colorB=blueviolet&label=PHP%20version&style=flat)](https://php.net/downloads.php)
5+
[![Packagist downloads](https://img.shields.io/packagist/dt/natanfelles/php-server.svg?colorB=%23f28d1a&label=Packagist%20downloads&style=flat)](https://packagist.org/packages/natanfelles/php-server)
6+
37
Fine tuning on the PHP Built-in web server
48

59
![PHP Built-in web server autoindex](https://i.imgur.com/dE7B2LJ.png)
@@ -110,7 +114,7 @@ php-server --port 8081
110114
Or, also with a different version of PHP than the default:
111115

112116
```sh
113-
php-server --php php7.3 --port 8081
117+
php-server --php php7.4 --port 8081
114118
```
115119

116120
Right. You get the idea. If you want to run on a different host you can add the host to the [hosts file](https://en.wikipedia.org/wiki/Hosts_(file)) of your operating system.

composer.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"webserver",
99
"dev",
1010
"development",
11-
"cocument-root",
11+
"document-root",
1212
"autoindex",
1313
"rewrite",
1414
"mod-rewrite",
@@ -20,13 +20,11 @@
2020
{
2121
"name": "Natan Felles",
2222
"email": "[email protected]",
23-
"homepage": "https://natanfelles.github.io",
24-
"role": "lead"
23+
"homepage": "https://natanfelles.github.io"
2524
}
2625
],
2726
"support": {
2827
"issues": "https://github.com/natanfelles/php-server/issues",
29-
"wiki": "https://github.com/natanfelles/php-server/wiki",
3028
"source": "https://github.com/natanfelles/php-server"
3129
},
3230
"require": {

src/server_config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'max_execution_time' => 360,
2020
],
2121
'server' => [
22-
'PHPSERVER_VERSION' => '2.7',
22+
'PHPSERVER_VERSION' => '2.8',
2323
],
2424
];
2525

0 commit comments

Comments
 (0)