jcheron e3a2d6a10e Ubiquity refactoring (#5916) 5 years ago
..
amp e66066bd49 Fix amp (#5786) 5 years ago
cakephp 7c20c616b0 Update CakePHP version constraint. (#5386) 5 years ago
codeigniter d760179506 CodeIgniter use persisten db connection again (#5439) 5 years ago
comet 07088b2ee2 Update benchmark_config.json in comet and webman (#5836) 5 years ago
fat-free 587d4cd13d Route fixes for Fat Free (#5619) 5 years ago
fuel b97580e654 Update to PHP 7.4 (#5328) 5 years ago
hamlet b97580e654 Update to PHP 7.4 (#5328) 5 years ago
hhvm e5937c1039 hhvm tag broken (#5322) 5 years ago
hyperf 798a13907e Cleanup some items (#5761) 5 years ago
imi e9db49ebbd Add imi Caching test (#5860) 5 years ago
kumbiaphp 445ebcaa37 PHP add fastcgi_socket_keepalive in nginx (#5861) 5 years ago
laravel 1d3692ad46 Fix Laravel pbs (#5450) 5 years ago
lumen da72c97d24 Update laravel and lument to php 7.4 (#5329) 5 years ago
peachpie 81d74625a6 php/peachpie updated and fixed broken compilation (#5746) 5 years ago
phalcon 792aa15c08 php/phalcon: Define metadata in model (#5730) 5 years ago
php 445ebcaa37 PHP add fastcgi_socket_keepalive in nginx (#5861) 5 years ago
php-ngx ba4e82dee6 Php-ngx fix routes (#5837) 5 years ago
phpixie bb460979aa Update to PHP 7.4 (#5330) 5 years ago
simps f312161c0b fix db error for simps (#5796) 5 years ago
slim bb460979aa Update to PHP 7.4 (#5330) 5 years ago
spiral 7368d95726 Change Spiral to platform RoadRunner (#5113) 5 years ago
sw-fw-less 0ad2353c5a Create a travis Swoole job (#5151) 5 years ago
swoole f570f00b69 Update swoole to php 7.4 (#5275) 5 years ago
symfony 7cdb4396f5 Switch to symfony 5.1 and preloading (#5679) 5 years ago
ubiquity e3a2d6a10e Ubiquity refactoring (#5916) 5 years ago
webman 07088b2ee2 Update benchmark_config.json in comet and webman (#5836) 5 years ago
workerman 4fb3a2a6b0 Workerman fix fortunes url (#5838) 5 years ago
yii2 84f88d5ebf Yii2: declare components with functions, not arrays (#5668) 5 years ago
zend bb460979aa Update to PHP 7.4 (#5330) 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.