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

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.