Joan Miquel c810bf93f1 [php] Fix OpenSwoole (#7665) hace 2 años
..
amp bcddc462ff [php] Update event to 3.0.8 (#7551) hace 3 años
cakephp 54504451bd [cakephp] Update to v4.3 and php 8.1 (#6906) hace 3 años
codeigniter e062401d0d [codeigniter] Update to php 8.1 (#6918) hace 3 años
comet bcddc462ff [php] Update event to 3.0.8 (#7551) hace 3 años
duckphp 93ec202e39 [duckphp] Update to php 8.1 (#6907) hace 3 años
fat-free 69776374ca [fat-free] Update to PHP 8.1 (#7144) hace 3 años
fuel b98bfa16eb [php] Fix fuel (#6798) hace 4 años
hamlet 46f2c4650e [hamlet] Add broken tags (#7238) hace 3 años
hhvm 0096f84ee9 Config for the new toolset (#6259) hace 4 años
hyperf da629180d2 Update hyperf benchmark (#6279) hace 4 años
imi 018bef1245 Fix imi (#7410) hace 3 años
kumbiaphp 987423e527 [php] Kumbia update Fortunes sort (#7645) hace 2 años
laravel 010cbff4bf [php] Update adapterman (#7651) hace 2 años
lumen 4abccc843b [lumen] Update to php 8.1 (#6909) hace 3 años
mark bcddc462ff [php] Update event to 3.0.8 (#7551) hace 3 años
mixphp bcddc462ff [php] Update event to 3.0.8 (#7551) hace 3 años
one 492d9c356b set swoole version (#7580) hace 3 años
openswoole c810bf93f1 [php] Fix OpenSwoole (#7665) hace 2 años
peachpie 4f9b40ee88 updates php/peachpie to the latest version (#6287) hace 4 años
phalcon e386dc32a1 [php] Phalcon5 and PHP8.1 (#7615) hace 2 años
php c5da047e7a [php-unit] Update nginx unit to 1.27 and php 8.1 (#7387) hace 3 años
php-ngx 08a8a7779a [php-ngx] Remove globals vars in pgsql (#7312) hace 3 años
phpixie 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) hace 4 años
reactphp bcddc462ff [php] Update event to 3.0.8 (#7551) hace 3 años
simps 0096f84ee9 Config for the new toolset (#6259) hace 4 años
slim 03225089db [php] Slim 3.12 update (#7624) hace 2 años
spiral 090f77693a Adds Scaffolder bootloader to fix problem with app configuration (#7239) hace 3 años
sw-fw-less 0096f84ee9 Config for the new toolset (#6259) hace 4 años
swoole b0a4970940 [Swoole] Update to php 8.1 (#6902) hace 3 años
symfony 010cbff4bf [php] Update adapterman (#7651) hace 2 años
ubiquity bcddc462ff [php] Update event to 3.0.8 (#7551) hace 3 años
webman bcddc462ff [php] Update event to 3.0.8 (#7551) hace 3 años
workerman bcddc462ff [php] Update event to 3.0.8 (#7551) hace 3 años
yii2 010cbff4bf [php] Update adapterman (#7651) hace 2 años
zend 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) hace 4 años
README.md 05c8be09fd minor update of php's readme.md (#4976) hace 6 años

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.