Open-source C projects categorized as PHP

Top 23 C PHP Projects

  • phpredis

    A PHP extension for Redis

    Project mention: how to handle millions of data read/writes everyday? | reddit.com/r/laravel | 2022-08-11

    And then, read up on the PHPRedis Extension to see how easy it is to use -> https://github.com/phpredis/phpredis

  • Weechat

    The extensible chat client.

    Project mention: Can you help me login or get my WeeChat back? | reddit.com/r/Weechat | 2023-05-01

    I’m afraid you’re in the wrong subreddit. This subreddit is dedicated to WeeChat the IRC client., not the proprietary messaging app built by Tencent.

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

  • ext-ds

    An extension providing efficient data structures for PHP 7

    Project mention: Make your PHP arrays sweet'n'safe | reddit.com/r/PHP | 2023-05-23

    You're being downvoted by people who evidently aren't aware there are alternatives.

  • php-ext-xlswriter

    🚀 PHP Extension for creating and reader XLSX files.

  • php-rdkafka

    Production-ready, stable Kafka client for PHP

  • Themis

    Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.

  • php-spx

    A simple & straight-to-the-point PHP profiling extension with its built-in web UI

    Project mention: What are modern profiling tools? | reddit.com/r/PHP | 2022-10-07

    Not used it in a while, but https://github.com/NoiseByNorthwest/php-spx is worth checking out.


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • PHPSpy

    low-overhead sampling profiler for PHP 7+

  • swow

    Coroutine-based cross-platform concurrent I/O engine

    Project mention: Running PHP with io_uring | reddit.com/r/PHP | 2023-03-27
  • php-memory-profiler

    Memory profiler for PHP. Helps finding memory leaks in PHP scripts.

    Project mention: PHP: memory errors | dev.to | 2023-05-24

    use memprof

  • ngx-php

    ngx-php - Embedded php7 or php8 scripting language for nginx module. Mainline development version of the ngx-php.

  • imagick

    🌈 The Imagick PHP extension 🌈 (by Imagick)

    Project mention: PHP 8.2.0 has been released! | reddit.com/r/PHP | 2022-12-08

    Assuming Ubuntu, first apt install "imagemagick libmagickwand-dev libmagickcore-dev php8.2-dev" and then do the install from https://github.com/Imagick/imagick and give it a shot.

  • Ice

    Source code of Ice framework (by ice)

    Project mention: Any other frameworks such as Falcon? | reddit.com/r/PHP | 2022-08-29

    This one .. https://www.iceframework.org/

  • php-psr

    PHP extension providing the accepted PSR interfaces

    Project mention: How do you go about fixing composer dependency errors? | reddit.com/r/symfony | 2023-03-07

    It's nothing I haven't seen before in the NPM world: when running composer install, I get error messages saying package X is incompatible with package Y. When I change the version of package Y, it turns out that version is incompatible with package Z. And When I update the package Z version, I get some weird error that leads me to a github issue with no real resolution.

  • phpsci-carray

    PHP library for scientific computing powered by C

  • phpmicro

    micro sfx SAPI for php (wip, may force push)

    Project mention: Compress PHP applications into one binary | reddit.com/r/PHP | 2023-04-07

    TL;DR: you build your app as a phar (for example with Box), en then prepend it with this: https://github.com/dixyes/phpmicro/blob/master/Readme.EN.md

  • merecat

    Small and made-easy HTTP/HTTPS server based on Jef Poskanzer's thttpd

  • php-opengl

    PHP-OpenGL source code

    Project mention: Sega genesis/megadrive emulation using PHP | reddit.com/r/EmuDev | 2022-10-14

    OP here, there is an extension that claims to support the OpenGL core profile. never tried it: https://github.com/Ponup/php-opengl

  • php-sdl

    SDL2 bindings for the PHP language

    Project mention: so is PHP just Laravel now? | reddit.com/r/PHPhelp | 2023-05-20

    I mean there's even an SDL extension for php now.

  • php-glfw

    🪐A fully-featured OpenGL and GLFW extension for PHP. 🔋Batteries included (Math Functions, Texture Loaders, etc..)

    Project mention: Multiplayer counter strike like game without game engine - just php 8.1, fully open sourced | reddit.com/r/PHP | 2022-11-30

    There is php opengl project https://github.com/mario-deluna/php-glfw for example so if somebody wants only truly PHP experience there are free to do so.

  • gherkin

    A parser and compiler for the Gherkin language. (by cucumber)

    Project mention: Is BDD alive in C++ ? | reddit.com/r/cpp | 2023-05-30

    I would not recommand the C++ version of Cucumber because as you mentioned it's deprecated for a while now. However, if you still want to use the Cucumber syntax, you can rely on the [C gherkin parser](https://github.com/cucumber/gherkin/tree/main/c)

  • handlebars.c

    C implementation of handlebars.js

    Project mention: The Unreasonable Effectiveness of Makefiles | news.ycombinator.com | 2022-08-12

    Yes, I used autotools[0]. It's definitely hairier than plain make, but you get a lot of useful features on top of it. There's thousands of examples all over the internet so it's easy to reference them.

    I like the elegance of pure make, and do use it when appropriate, but I wouldn't really want to reimplement the things autotools does myself in it.

    [0]: https://github.com/jbboehr/handlebars.c/blob/master/configur...

  • php-handlebars

    PHP bindings for handlebars.c

    Project mention: PHP 8.2.0 RC1 available for testing | news.ycombinator.com | 2022-09-05

    PHP isn't really used as a template language any more. Most people use a different template language for the views. I've implemented two myself[0][1] but an early one was Smarty[2] and there are many others. I hear Twig is pretty good[3].

    [0]: https://github.com/jbboehr/php-handlebars

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

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 2023-05-30.

C PHP related posts


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

Project Stars
1 phpredis 9,665
2 Weechat 2,666
3 ext-ds 2,071
4 php-ext-xlswriter 2,070
5 php-rdkafka 1,920
6 Themis 1,704
7 php-spx 1,536
8 PHPSpy 1,334
9 swow 1,014
10 php-memory-profiler 750
11 ngx-php 470
12 imagick 458
13 Ice 339
14 php-psr 223
15 phpsci-carray 189
16 phpmicro 144
17 merecat 124
18 php-opengl 105
19 php-sdl 96
20 php-glfw 95
21 gherkin 48
22 handlebars.c 33
23 php-handlebars 24
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.