Bruce Dou 31247bd100 Optimise swoole-pg (#6044) 5 rokov pred
..
amp 8c79a02c4a [ci skip]Add framework to swoole and amp (#6038) 5 rokov pred
cakephp 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
codeigniter 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
comet 07088b2ee2 Update benchmark_config.json in comet and webman (#5836) 5 rokov pred
fat-free 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
fuel 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
hamlet 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
hhvm e5937c1039 hhvm tag broken (#5322) 5 rokov pred
hyperf 798a13907e Cleanup some items (#5761) 5 rokov pred
imi e9db49ebbd Add imi Caching test (#5860) 5 rokov pred
kumbiaphp 445ebcaa37 PHP add fastcgi_socket_keepalive in nginx (#5861) 5 rokov pred
laravel 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
lumen 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
one 1d36375b36 fix update del transaction (#6031) 5 rokov pred
peachpie a1883f872f Fix dotnet docker images (every .NET server now failing) (#6021) 5 rokov pred
phalcon 8a0e06b1a3 Update index-micro.php (#5937) 5 rokov pred
php 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
php-ngx 15e99038b3 [ci skip]Add framework value in php-ngx & workerma (#6032) 5 rokov pred
phpixie 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
simps f312161c0b fix db error for simps (#5796) 5 rokov pred
slim 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
spiral 7368d95726 Change Spiral to platform RoadRunner (#5113) 6 rokov pred
sw-fw-less 0ad2353c5a Create a travis Swoole job (#5151) 5 rokov pred
swoole 31247bd100 Optimise swoole-pg (#6044) 5 rokov pred
symfony 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
ubiquity c200836a40 [Ubiquity] add ngx platform (#6042) 5 rokov pred
webman 07088b2ee2 Update benchmark_config.json in comet and webman (#5836) 5 rokov pred
workerman 15e99038b3 [ci skip]Add framework value in php-ngx & workerma (#6032) 5 rokov pred
yii2 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
zend 16b653298a Update php frameworks to ubuntu 20.04 (#5989) 5 rokov pred
README.md 05c8be09fd minor update of php's readme.md (#4976) 6 rokov pred

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.