J-C HERON e7aaae2747 [Ubiquity] Update to PHP 8 (#6187) 4 years ago
..
amp 8c79a02c4a [ci skip]Add framework to swoole and amp (#6038) 5 years ago
cakephp 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 years ago
codeigniter fd776285ea [codeigniter] Update to PHP 8 (#6182) 4 years ago
comet 913e2b8444 Select id and randomnumber to match rules requirements (#6072) 4 years ago
duckphp 5b19c803cb add php framework DuckPhp (#6090) 4 years ago
fat-free 3c243daa05 [fat-free] Update to PHP 8 (#6183) 4 years ago
fuel db0ee8faf5 [fuel] Update to PHP 8 (#6172) 4 years ago
hamlet 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 years ago
hhvm 913e2b8444 Select id and randomnumber to match rules requirements (#6072) 4 years ago
hyperf 798a13907e Cleanup some items (#5761) 5 years ago
imi 69b5ba56fe Optimise imi (#6046) 4 years ago
kumbiaphp 17b5927e60 [kumbiaphp] Update to PHP 8 (#6179) 4 years ago
laravel 3f6e0cad7a [laravel] Update to PHP 8 (#6181) 4 years ago
lumen 5fae103947 [lumen] Update to PHP 8 (#6180) 4 years ago
one 2afedf4222 [one] Update to PHP 8 (#6188) 4 years ago
peachpie 913e2b8444 Select id and randomnumber to match rules requirements (#6072) 4 years ago
phalcon 8a0e06b1a3 Update index-micro.php (#5937) 5 years ago
php e432178aac Update to PHP 8 (#6169) 4 years ago
php-ngx a2746e72c6 [php-ngx] Try to Upgrade function `query` to `query2`. (#6102) 4 years ago
phpixie 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 years ago
simps f312161c0b fix db error for simps (#5796) 5 years ago
slim cf819eecf6 [slim] Uptade to PHP 8 (#6171) 4 years ago
spiral ba415d7d80 [spiral] Update to php 7.4 (#6124) 4 years ago
sw-fw-less fa0f7f6e18 [sw-fw-less] Update to php 7.4 (#6123) 4 years ago
swoole dfa5849348 [swoole] Add opcache (#6125) 4 years ago
symfony b4b5e57ab5 [Symfony] Fix Swoole pb (#6108) 4 years ago
ubiquity e7aaae2747 [Ubiquity] Update to PHP 8 (#6187) 4 years ago
webman 913e2b8444 Select id and randomnumber to match rules requirements (#6072) 4 years ago
workerman 544a4d4d0f [workerman] Testing php8 (#6143) 4 years ago
yii2 5c2204542a [yii2] Update to PHP 8 (#6173) 4 years ago
zend 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 years ago
README.md 05c8be09fd minor update of php's readme.md (#4976) 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 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.