PHP Performance

Open-source PHP projects categorized as Performance Edit details

Top 23 PHP Performance Projects

  • web-frameworks

    Which is the fastest web framework?

    Project mention: Slower than Go, Java and JS? | reddit.com/r/rust | 2022-04-25
  • LaravelS

    LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

  • Cloudways

    Managed Cloud Hosting Platform. Cloudways leverages advanced technology and powerful servers. Cloudways is a one-click managed cloud hosting platform that provides cloud application and server management solutions.

  • Laravel-Zero

    A PHP framework for console artisans

    Project mention: How to Build and Distribute Beautiful Command-Line Applications with PHP and Composer | dev.to | 2022-02-12

    We won't use specialised frameworks like Minicli or Laravel Zero because the goal is not so much to focus on features but to better understand the development, testing, and distribution phases of command-line programs.

  • image-optimizer

    Easily optimize images using PHP (by spatie)

    Project mention: Looking for recommendations for a PHP image upload library / project for secure image uploads. | reddit.com/r/webdev | 2021-09-06

    Though tbh it sounds like you probably already have a web app built and want to plug image uploads into it, in which case just build a method to handle your route with some MIME type validation + a Spatie optimizer implementation for optimising and resizing (which I presume is what you mean by "manipulation")

  • async

    Easily run code asynchronously (by spatie)

    Project mention: I Avoid Async/Await | news.ycombinator.com | 2022-04-16

    It drove me crazy too, until I needed to use Puppeteer which requires you to write async/await (there are Puppeteer implementations in other languages, but they all seem to make compromises I didn't want). Generally speaking, async/await allows you to write code that looks and feels serial. Perhaps try using one of the async libraries for PHP to wrap your mind around the concept of async/await (like https://github.com/spatie/async)

  • laravel-responsecache

    Speed up a Laravel app by caching the entire response

    Project mention: Implement Redis server to existing large scale Laravel application | reddit.com/r/redis | 2022-03-15

    Laravel-responsecache might be what you are looking for.

  • phoronix-test-suite

    The Phoronix Test Suite open-source, cross-platform automated testing/benchmarking software.

    Project mention: Laptop suddenly running much worse? | reddit.com/r/lowendgaming | 2022-06-25

    There's a bunch. I guess you can try running https://www.phoronix-test-suite.com/

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • PHPBench

    PHP Benchmarking framework

    Project mention: Comparing PHP Collections | dev.to | 2022-03-22

    I used phpbench to measure performance. I think one of the big differences between all the solutions is the type checking. So I decided to try measure it. How much faster will code with/without type checking?

  • wprig

    A progressive theme development rig for WordPress.

    Project mention: Can you recommend me a good starter theme with FE tooling? | reddit.com/r/Wordpress | 2022-01-19

    Haven’t used it yet but this looks pretty interesting https://wprig.io

  • once

    A magic memoization function (by spatie)

  • Image Optimizer

    Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.

  • enlightn

    Your performance & security consultant, an artisan command away.

    Project mention: A Laravel package to monitor the health of your application | reddit.com/r/laravel | 2021-12-13

    you can also check https://www.laravel-enlightn.com

  • Ubiquity

    Ubiquity framework

  • Centreon

    Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.

    Project mention: Centreon tracking users possibly without consent | reddit.com/r/CKsTechNews | 2022-01-18
  • fork

    A lightweight solution for running code concurrently in PHP

    Project mention: Slow external API calls made in a foreach - How to optimize? | reddit.com/r/laravel | 2022-03-01

    The only way you could improve this is by using something like Spatie Fork to run the API requests in parallel but doing that is honestly going to be a headache.

  • laravel-pjax

    A pjax middleware for Laravel

    Project mention: Laravel Livewire: Navigation like pjax/turbolinks | reddit.com/r/laravel | 2021-09-27

    With pjax: https://github.com/defunkt/jquery-pjax and https://github.com/spatie/laravel-pjax it was simple to just add a data attribute to an anchor tag and you're good to go. Selecting a menu item would usually be a single request (the view would be injected into the blade @yield('content') section) and a few kilobytes of info (keeping browser URL updated as well), making any web app feel super snappy.

  • laravel-varnish

    Making Varnish and Laravel play nice together

    Project mention: Help with Integrating Laravel with Varnish | reddit.com/r/laravel | 2022-06-20

    I am an ops person so my knowledge of laravel is close to 0. I have to integrate Varnish 6 with laravel. I followed this template https://github.com/mattiasgeniar/varnish-6.0-configuration-templates for the laravel varnish config. The module that is being used on the backend is https://github.com/spatie/laravel-varnish . The issue is the session cookies are not being removed from the response header it seems which is causing the pages to become uncacheable even when cache-control headers are set correctly.

  • KumbiaPHP

    Fast and easy PHP framework

    Project mention: KumbiaPHP VS leaf - a user suggested alternative | libhunt.com/r/KumbiaPHP | 2021-12-03
  • reli-prof

    A sampling profiler for PHP written in PHP, which reads information about running PHP VM from outside of the process.

    Project mention: sj-i/php-profiler: a sampling profiler for PHP written in PHP | reddit.com/r/PHP | 2022-02-06
  • pj-page-cache-red

    Redis-backed full page caching plugin for WordPress

  • performance-improvements-for-woocommerce

    Performance tweaks for the front-end and back-end of a store.

    Project mention: VPS for WooCommerce? | reddit.com/r/woocommerce | 2021-11-18

    Highly experimental, and probably requires some tailoring - but if you have the technical ability and a little time, you could try a version of this (at least for the admin stuff, which is pretty feature heavy): https://github.com/lukecav/performance-improvements-for-woocommerce

  • iterator-functions

    A package that provides `array_*` like functions for iterators.

    Project mention: Adapter Pattern vs. Bridge Pattern | dev.to | 2021-10-04

    To make it a bit easier working with the Iterators, I'll be using the iterator_map() function from my doekenorg/iterator-functions package.

  • query-monitor-twig-profile

    Displays Twig profiler output in Query Monitor

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-06-25.

PHP Performance related posts

Index

What are some of the best open-source Performance projects in PHP? This list will help you:

Project Stars
1 web-frameworks 6,355
2 LaravelS 3,597
3 Laravel-Zero 3,015
4 image-optimizer 2,212
5 async 2,121
6 laravel-responsecache 1,959
7 phoronix-test-suite 1,694
8 PHPBench 1,598
9 wprig 1,231
10 once 1,004
11 Image Optimizer 861
12 enlightn 669
13 Ubiquity 615
14 Centreon 556
15 fork 536
16 laravel-pjax 499
17 laravel-varnish 339
18 KumbiaPHP 266
19 reli-prof 253
20 pj-page-cache-red 88
21 performance-improvements-for-woocommerce 87
22 iterator-functions 67
23 query-monitor-twig-profile 23
Find remote jobs at our new job board 99remotejobs.com. There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com