Mike Smith 4cc3ed6c76 Merge pull request #9559 from cclilshy/master 10 tháng trước cách đây
..
amp 8ac6fdbfa7 Quiet composer install 11 tháng trước cách đây
cakephp cff810230e [php] CakePHP update to PHP-8.4 (#9411) 1 năm trước cách đây
codeigniter ebff4c456b [php] Fix codeigniter 4.4 (#9086) 1 năm trước cách đây
comet b70bdad3d1 [php] Comet update to PHP-8.4 (#9412) 1 năm trước cách đây
cyberphp d5f024c585 Modify the test code to comply with the testing specifications 11 tháng trước cách đây
duckphp 258ea16a34 [php] Duck update to PHP 8.4 (#9413) 1 năm trước cách đây
fat-free 0a9ab06df8 [php] Fat-free update to PHP/8.4 (#9517) 11 tháng trước cách đây
flight bbf0585b15 [php] Update Flight to v3 (#9470) 11 tháng trước cách đây
fuel 5f9d3e0097 Add JIT in php-fpm (#7687) 3 năm trước cách đây
hamlet 46f2c4650e [hamlet] Add broken tags (#7238) 3 năm trước cách đây
hhvm 0096f84ee9 Config for the new toolset (#6259) 5 năm trước cách đây
hyperf da629180d2 Update hyperf benchmark (#6279) 5 năm trước cách đây
imi 9fe9e211b0 [php] Imi update to PHP 8.3 (#8589) 2 năm trước cách đây
kumbiaphp 710731695c [php] Kumbia update to PHP8.4 11 tháng trước cách đây
laravel 4cc3ed6c76 Merge pull request #9559 from cclilshy/master 10 tháng trước cách đây
leaf 90837f309f Update also for Workerman 11 tháng trước cách đây
lumen a42b0a160c Update also Lumen 11 tháng trước cách đây
mako dcc7e59f47 [php] Mako update to PHP 8.3 (#8616) 2 năm trước cách đây
mark 121b08e983 [php] Mark update to PHP 8.4 (#9414) 1 năm trước cách đây
mixphp f2a87b6080 [php] Fix Swoole and faster docker builds (#9169) 1 năm trước cách đây
nette 7113d24eec [php] Nette update to PHP/8.4 11 tháng trước cách đây
one 316536c23d up one php to 8.1 (#7785) 3 năm trước cách đây
openswoole bfe3d6afb4 [php] Openswoole update to PHP 8.3 (#8595) 2 năm trước cách đây
peachpie e0757ae57f Peachpie update to v1.0.25 (#8719) 1 năm trước cách đây
phalcon 40db94432c [php] Phalcon update to PHP 8.3 (#8720) 1 năm trước cách đây
php 17cb029df4 Remove unnecessary file-exists checks. 11 tháng trước cách đây
php-ngx 8b34594ec6 [php] Ngx-php update to PHP/8.4 (#9524) 11 tháng trước cách đây
phpixie 38ca563d59 [php] Update some fw to Ubuntu 22.04 (#8085) 2 năm trước cách đây
reactphp 27012ed38a Merge pull request #9538 from WyriHaximus-labs/reactphp-handle-uncaught-errors 10 tháng trước cách đây
ripple f897d20573 [PHP/ripple] Added ripple coroutine engine. (#9377) 1 năm trước cách đây
simps f2a87b6080 [php] Fix Swoole and faster docker builds (#9169) 1 năm trước cách đây
slim 4d19d4527a [php] Slim update to PHP/8.4 11 tháng trước cách đây
spiral b283599b18 [php] Fix #9021 fail to build grpc (#9032) 1 năm trước cách đây
sw-fw-less 37ae1377c5 [php] Mark broken PHP frameworks (#7945) 2 năm trước cách đây
swoole a18e737919 update php and swoole version (#9465) 1 năm trước cách đây
symfony 17cb029df4 Remove unnecessary file-exists checks. 11 tháng trước cách đây
ubiquity 2f74dafb4c [php] Ubiquity update to PHP/8.4 11 tháng trước cách đây
webman 082b573713 [php] Simplify the code for Webman Workerman (#9474) 11 tháng trước cách đây
wolff c4a097c8d5 [php] Wolff update to PHP 8.4 (#9415) 1 năm trước cách đây
workerman 082b573713 [php] Simplify the code for Webman Workerman (#9474) 11 tháng trước cách đây
yii2 7c0e406860 [php] Yii2 raw update to PHP/8.4 (#9518) 11 tháng trước cách đây
zend 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) 4 năm trước cách đây
README.md 05c8be09fd minor update of php's readme.md (#4976) 6 năm trước cách đây

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.