Skip to content

Commit 7fc6fc1

Browse files
authored
Merge pull request #717 from flightphp/improve-readme-design
Improve format and clarity in README.md
2 parents df93b90 + b28716c commit 7fc6fc1

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@ composer require flightphp/core
2222
or you can download a zip of this repo. Then you would have a basic `index.php` file like the following:
2323

2424
```php
25-
// if installed with composer
26-
require 'vendor/autoload.php';
27-
// or if installed manually by zip file
28-
// require 'flight/Flight.php';
25+
require 'flight/autoload.php';
2926

3027
Flight::route('/', function () {
31-
echo 'hello world!';
28+
echo 'hello world!';
3229
});
3330

3431
Flight::start();
@@ -38,17 +35,17 @@ Flight::start();
3835

3936
Yes! Flight is fast. It is one of the fastest PHP frameworks available. You can see all the benchmarks at [TechEmpower](https://www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=frameworks)
4037

41-
See the benchmark below with some other popular PHP frameworks. This is measured in requests processed within the same timeframe.
38+
See the benchmark below with some other popular PHP frameworks. This is measured in requests processed within the same timeframe.
4239

4340
| Framework | Plaintext Requests| JSON Requests|
4441
| --------- | ------------ | ------------ |
4542
| Flight | 190,421 | 182,491 |
4643
| Yii | 145,749 | 131,434 |
47-
| Fat-Free | 139,238 | 133,952 |
44+
| Fat-Free | 139,238 | 133,952 |
4845
| Slim | 89,588 | 87,348 |
4946
| Phalcon | 95,911 | 87,675 |
5047
| Symfony | 65,053 | 63,237 |
51-
| Lumen | 40,572 | 39,700 |
48+
| Lumen | 40,572 | 39,700 |
5249
| Laravel | 26,657 | 26,901 |
5350
| CodeIgniter | 20,628 | 19,901 |
5451

@@ -75,9 +72,10 @@ If you have a current project on v2, you should be able to upgrade to v3 with no
7572
> [!IMPORTANT]
7673
> Flight requires `PHP 7.4` or greater.
7774
78-
**Note:** PHP 7.4 is supported because at the current time of writing (2024) PHP 7.4 is the default version for some LTS Linux distributions. Forcing a move to PHP >8 would cause a lot of heartburn for those users.
79-
80-
The framework also supports PHP >8.
75+
> [!NOTE]
76+
> PHP 7.4 is supported because at the current time of writing (2024) PHP 7.4 is the default version for some LTS Linux distributions.
77+
> Forcing a move to PHP 8 would cause a lot of heartburn for those users.
78+
> The framework also supports PHP 8.
8179
8280
# Roadmap
8381

0 commit comments

Comments
 (0)