Vladimir Goncharov 16948b05c9 Install ext-event for better performance (#4681) 6 years ago
..
amp ecf99c943b added link to https://github.com/amphp/amp (#4555) 6 years ago
cakephp 4ab2980fe6 Lower keepalive requests (#4384) 6 years ago
codeigniter f89e54e4f0 Update CI query to pass tests (#4625) 6 years ago
fat-free 11473a3030 Faster FCGI config (#4386) 6 years ago
fuel 4c527ce649 Update Fuel query to pass the test (#4626) 6 years ago
hamlet 755e16a5c6 Updating Hamlet framework (#4660) 6 years ago
hhvm 72561fa890 Join update and install (#4362) 6 years ago
kumbiaphp eb9de7fcdc More keepalive requests (#4683) 6 years ago
laravel 09a078e1f5 laravel: update to laravel 5.8 (#4525) 6 years ago
limonade 4ab2980fe6 Lower keepalive requests (#4384) 6 years ago
lithium 4ab2980fe6 Lower keepalive requests (#4384) 6 years ago
lumen e2d8689d5a Lumen db persistent connection (#4527) 6 years ago
peachpie 8c3550fadc Update peachepie (#4359) 6 years ago
phalcon cb3a79f262 Revert "Phalcon update to php7.3 (#4566)" (#4613) 6 years ago
php eb9de7fcdc More keepalive requests (#4683) 6 years ago
phpixie 2ff44fdf18 Faster FCGI conf (#4369) 6 years ago
slim 94c2ca7e52 Simplify Slim fortunes (#4600) 6 years ago
swoole 09a078e1f5 laravel: update to laravel 5.8 (#4525) 6 years ago
symfony 4ab2980fe6 Lower keepalive requests (#4384) 6 years ago
ubiquity 33b8e04a1a Ubiquity benchmarks (#4682) 6 years ago
workerman 16948b05c9 Install ext-event for better performance (#4681) 6 years ago
yii2 f9eef703f6 Delete hhvm v4 PHP is unsupported (#4515) 6 years ago
zend 4ab2980fe6 Lower keepalive requests (#4384) 6 years ago
README.md 4322cacaef Update documentation links (#4541) 6 years ago

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).

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.