vka f3c16dde66 Re-enabling Swoole / Coroutine / MySQL (#5235) 5 سال پیش
..
amp 0d05af135c Update amp (#5170) 5 سال پیش
cakephp 1608ad5728 Fix cakephp fortunes failure (#5232) 5 سال پیش
codeigniter aff735317b [ci skip] Better names for the platforms (#4974) 6 سال پیش
fat-free aff735317b [ci skip] Better names for the platforms (#4974) 6 سال پیش
fuel 3b493e03eb Fix fuel cache pb (#5223) 5 سال پیش
hamlet f3c16dde66 Re-enabling Swoole / Coroutine / MySQL (#5235) 5 سال پیش
hhvm 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) 6 سال پیش
hyperf dac0a39907 Add hyperf-raw and hyperf-micro (#5181) 5 سال پیش
imi 0d8e1f0d85 Update Imi (#5180) 5 سال پیش
kumbiaphp b8367c014a Php use server-side prepares in update test (#5220) 5 سال پیش
laravel 2034ecc449 Update Swoole in Laravel and Lumen (#5099) 6 سال پیش
lumen 2034ecc449 Update Swoole in Laravel and Lumen (#5099) 6 سال پیش
peachpie 6b53ff88d2 Fix php frameworks to comply with #5167 (#5192) 5 سال پیش
phalcon aff735317b [ci skip] Better names for the platforms (#4974) 6 سال پیش
php b8367c014a Php use server-side prepares in update test (#5220) 5 سال پیش
php-ngx 53c41def8d Update php-ngx to v0.22 (#5231) 5 سال پیش
phpixie aff735317b [ci skip] Better names for the platforms (#4974) 6 سال پیش
slim 3ca4a6f6db Delete php5 as reached EOL (#4986) 6 سال پیش
spiral 7368d95726 Change Spiral to platform RoadRunner (#5113) 5 سال پیش
sw-fw-less 0ad2353c5a Create a travis Swoole job (#5151) 5 سال پیش
swoole da854c75bc Bulk update swoole no async (#5202) 5 سال پیش
symfony 79bca15ad7 Compliance of updates method with test specifications (#5067) 6 سال پیش
ubiquity 8c46706f51 Update ubiquity (#5188) 5 سال پیش
workerman d3ecfb4879 Change updates tests in workerman and php-ngx (#5217) 5 سال پیش
yii2 5f445ddb70 Delete more unnecessary validations (#5055) 6 سال پیش
zend aff735317b [ci skip] Better names for the platforms (#4974) 6 سال پیش
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.