|
1 | | -# CakePHP Application Skeleton |
| 1 | +<p align="center"> |
| 2 | + <img src="http://www.phpbenchmarks.com/images/logo_github.png"> |
| 3 | + <br> |
| 4 | + <a href="http://www.phpbenchmarks.com" target="_blank">www.phpbenchmarks.com</a> |
| 5 | +</p> |
2 | 6 |
|
3 | | -[](https://travis-ci.org/cakephp/app) |
4 | | -[](https://packagist.org/packages/cakephp/app) |
| 7 | +## What is www.phpbenchmarks.com ? |
5 | 8 |
|
6 | | -A skeleton for creating applications with [CakePHP](https://cakephp.org) 3.x. |
| 9 | +You will find lot of benchmarks for PHP frameworks and template engines. |
7 | 10 |
|
8 | | -The framework source code can be found here: [cakephp/cakephp](https://github.com/cakephp/cakephp). |
| 11 | +You can compare results between Apache Bench and Siege, and PHP 5.6 to 7.3. |
9 | 12 |
|
10 | | -## Installation |
| 13 | +## What is this repository ? |
11 | 14 |
|
12 | | -1. Download [Composer](https://getcomposer.org/doc/00-intro.md) or update `composer self-update`. |
13 | | -2. Run `php composer.phar create-project --prefer-dist cakephp/app [app_name]`. |
| 15 | +It's benchmark common code for CakePHP benchmarks. |
14 | 16 |
|
15 | | -If Composer is installed globally, run |
| 17 | +Switch branch to select your CakePHP major version and benchmark you want to see. |
16 | 18 |
|
17 | | -```bash |
18 | | -composer create-project --prefer-dist cakephp/app |
19 | | -``` |
| 19 | +See all CakePHP benchmarked versions on [phpbenchmarks/cake-php](https://github.com/phpbenchmarks/cake-php). |
20 | 20 |
|
21 | | -In case you want to use a custom app dir name (e.g. `/myapp/`): |
| 21 | +You can find how we benchmark on [phpbenchmarks.com](http://www.phpbenchmarks.com/en/benchmark-protocol.html). |
22 | 22 |
|
23 | | -```bash |
24 | | -composer create-project --prefer-dist cakephp/app myapp |
25 | | -``` |
| 23 | +## Benchmarks |
26 | 24 |
|
27 | | -You can now either use your machine's webserver to view the default home page, or start |
28 | | -up the built-in webserver with: |
| 25 | +You can find all CakePHP benchmarks results on [phpbenchmarks.com](http://www.phpbenchmarks.com/en/benchmark/cake-php.html). |
29 | 26 |
|
30 | | -```bash |
31 | | -bin/cake server -p 8765 |
32 | | -``` |
33 | | - |
34 | | -Then visit `http://localhost:8765` to see the welcome page. |
35 | | - |
36 | | -## Update |
37 | | - |
38 | | -Since this skeleton is a starting point for your application and various files |
39 | | -would have been modified as per your needs, there isn't a way to provide |
40 | | -automated upgrades, so you have to do any updates manually. |
41 | | - |
42 | | -## Configuration |
43 | | - |
44 | | -Read and edit `config/app.php` and setup the `'Datasources'` and any other |
45 | | -configuration relevant for your application. |
46 | | - |
47 | | -## Layout |
48 | | - |
49 | | -The app skeleton uses a subset of [Foundation](http://foundation.zurb.com/) (v5) CSS |
50 | | -framework by default. You can, however, replace it with any other library or |
51 | | -custom styles. |
| 27 | +Scores are too low ? Do not hesitate to create a pull request, and ask a new benchmark ! |
0 commit comments