Joan Miquel 64a0ae7e91 [yii2-workerman] Add lib event (#7357) 3 年之前
..
amp c302e1a21e [amp] Update to Ubuntu 21.10 (#7157) 3 年之前
cakephp 54504451bd [cakephp] Update to v4.3 and php 8.1 (#6906) 3 年之前
codeigniter e062401d0d [codeigniter] Update to php 8.1 (#6918) 3 年之前
comet 9e90fafd22 [comet] Update to php 8.1 (#6959) 3 年之前
duckphp 93ec202e39 [duckphp] Update to php 8.1 (#6907) 3 年之前
fat-free 69776374ca [fat-free] Update to PHP 8.1 (#7144) 3 年之前
fuel b98bfa16eb [php] Fix fuel (#6798) 4 年之前
hamlet 46f2c4650e [hamlet] Add broken tags (#7238) 3 年之前
hhvm 0096f84ee9 Config for the new toolset (#6259) 4 年之前
hyperf da629180d2 Update hyperf benchmark (#6279) 4 年之前
imi 8dd61b75eb [imi] Update imi 2.0 (#6866) 3 年之前
kumbiaphp f4c244d65f [kumbiaphp-workerman-mysql] Update to php 8.1 (#6960) 3 年之前
laravel 078f8b4469 [laravel] Update to v8.70 and php 8.1 (#6908) 3 年之前
lumen 4abccc843b [lumen] Update to php 8.1 (#6909) 3 年之前
mark be25d08b29 [mark] Update to php 8.1 (#6899) 3 年之前
mixphp 64928ac196 [mixphp] Update fpm/fastcgi to php 8.1 (#6910) 3 年之前
one 3eba5ac50b use transaction (#6822) 4 年之前
openswoole 3a319de511 Added openswoole (#6949) 3 年之前
peachpie 4f9b40ee88 updates php/peachpie to the latest version (#6287) 4 年之前
phalcon 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) 4 年之前
php 74d28f58ac [ci skip] Add PHP to composite score (#7316) 3 年之前
php-ngx 08a8a7779a [php-ngx] Remove globals vars in pgsql (#7312) 3 年之前
phpixie 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) 4 年之前
reactphp a7233628db [reactphp] Update libs (#7228) 3 年之前
simps 0096f84ee9 Config for the new toolset (#6259) 4 年之前
slim 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) 4 年之前
spiral 090f77693a Adds Scaffolder bootloader to fix problem with app configuration (#7239) 3 年之前
sw-fw-less 0096f84ee9 Config for the new toolset (#6259) 4 年之前
swoole b0a4970940 [Swoole] Update to php 8.1 (#6902) 3 年之前
symfony 4ffb9d2113 [symfony-swoole] Add broken tag (#7237) 3 年之前
ubiquity cd5d04cb92 [ubiquity] Update to php 8.1 (#6905) 3 年之前
webman c770f580b7 [webman] Update to Ubuntu 21.10 (#7103) 3 年之前
workerman 4698fc54e7 [workerman] Remove globals vars in pgsql (#7313) 3 年之前
yii2 64a0ae7e91 [yii2-workerman] Add lib event (#7357) 3 年之前
zend 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) 4 年之前
README.md 05c8be09fd minor update of php's readme.md (#4976) 6 年之前

README.md

PHP Frameworks

php logo

The information below contains information specific to PHP. For further guidance, review the documentation.

Infrastructure Software Versions

PHP Versions

PHP 7.3.*, PHP 5.6.* and HHVM 3.30.

Adding New PHP-based Frameworks

PHP Acceleration and Caching

Caching the output of the PHP bytecode compiler is expressly allowed by this benchmark. As we use PHP 5.5, which comes with opcache built in, we recommend you use this. However, some frameworks utilize APC instead as switching can be problematic (e.g. APC allows arbitrary data caching, while opcache does not).

Caching the output of parsing your configuration files is also expressly allowed (e.g. file caching, metadata caching). Some frameworks use APCu or memcached to achieve this.

Caching of the classloader (often referred to as optimizing the classloader) is also allowed. Most frameworks have their own methods of doing this.

Caching of any data fetched from the database is not allowed. Specifically, things such as Doctrine's Result Cache are inadmissible.

However, if you are using an ORM that prepares SQL statements in some way, such as how Doctrine translates DQL into SQL, this translated form can be cached, as long as you are dynamically accepting query parameters.

Caching any data using databases (Redis, MongoDB, etc) is discouraged, as 1) our databases run on a separate computer across the network, so you won't see much benefit 2) your usage of the DB may impact other framework's tests, which we cannot allow. You may launch a DB locally on the application server as part of your setup.sh scripts and utilize it for caching the allowable cache items, if you so desire, but it's normally much easier to use systems such as APCu.

Ask if you are not certain.

Dependency Management Using Composer

Many PHP apps use Composer for dependency management, which greatly simplifies downloading the framework, loading the framework, and upgrading the framework version in the future.

Get Help

PHP Experts

There aren't any PHP experts listed, yet. If you're an expert, add yourself!

Resources & Interesting Links

If you find some interesting links related to the PHP tests, add them here.