Skip to content

Commit

Permalink
Add links and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Feb 13, 2019
1 parent b1ae1e8 commit f8f930b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# PHP Server

[![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)
[![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)
[![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)

Fine tuning on the PHP Built-in web server

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

```sh
php-server --php php7.3 --port 8081
php-server --php php7.4 --port 8081
```

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.
Expand Down
6 changes: 2 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"webserver",
"dev",
"development",
"cocument-root",
"document-root",
"autoindex",
"rewrite",
"mod-rewrite",
Expand All @@ -20,13 +20,11 @@
{
"name": "Natan Felles",
"email": "natanfelles@gmail.com",
"homepage": "https://natanfelles.github.io",
"role": "lead"
"homepage": "https://natanfelles.github.io"
}
],
"support": {
"issues": "https://github.com/natanfelles/php-server/issues",
"wiki": "https://github.com/natanfelles/php-server/wiki",
"source": "https://github.com/natanfelles/php-server"
},
"require": {
Expand Down
2 changes: 1 addition & 1 deletion src/server_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'max_execution_time' => 360,
],
'server' => [
'PHPSERVER_VERSION' => '2.7',
'PHPSERVER_VERSION' => '2.8',
],
];

Expand Down

0 comments on commit f8f930b

Please sign in to comment.