Open-source projects categorized as PHP | Edit details
Language filter: + PHP + C++ + JavaScript

Top 23 PHP Open-Source Projects

  • GitHub repo Laravel 5

    A PHP framework for web artisans.

    Project mention: Debería aprender PHP o está de bajada? | dev.to | 2021-06-17
  • GitHub repo Symfony

    The Symfony PHP framework

    Project mention: Debería aprender PHP o está de bajada? | dev.to | 2021-06-17
  • GitHub repo awesome-php

    A curated list of amazingly awesome PHP libraries, resources and shiny things.

    Project mention: [Help] 100 days to learn PHP from beginner to more advanced topics! | reddit.com/r/PHP | 2021-05-30
  • GitHub repo Composer

    Dependency Manager for PHP

    Project mention: paypal integration | reddit.com/r/PHPhelp | 2021-06-08

    The best way to add this to your project is via Composer. If you don't already have Composer installed, you'll need to add that to your project: https://getcomposer.org/

  • GitHub repo Laravel

    The Laravel Framework.

    Project mention: Useful Laravel Framework Helpers | reddit.com/r/PHP | 2021-06-03
  • GitHub repo Guzzle

    Guzzle, an extensible PHP HTTP client

    Project mention: Always check for built-in WordPress functions for whatever you're trying to do. | reddit.com/r/Wordpress | 2021-03-03

    You can achieve this (and a lot more) using, e.g. guzzle, a "PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services".

  • GitHub repo awesome-cheatsheets

    👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.

    Project mention: great Bash commands guide for beginners - LeCoupa/awesome-cheatsheets | reddit.com/r/codeforma | 2021-06-15
  • GitHub repo Design Patterns PHP

    sample code for several design patterns in PHP 8

    Project mention: PHP MVC Framework | reddit.com/r/laravel | 2021-03-24
  • GitHub repo CodeIgniter

    Open Source PHP Framework (originally from EllisLab)

    Project mention: PHP Framework for web development with pros and cons | dev.to | 2021-05-17

    CodeIgniter is a commanding PHP framework. If we consider web applications with advanced features, then to create such an application Code igniter is one of the efficient PHP Frameworks. As it makes web applications always ready, learning becomes easier.

  • GitHub repo PHPUnit

    The PHP Unit Testing framework.

    Project mention: Open-Source Software | dev.to | 2021-05-03

    PHPUnit is an example of OSS which is free.

  • GitHub repo HHVM

    A virtual machine for executing programs written in Hack.

    Project mention: 'I did a bad thing' | reddit.com/r/ProgrammerHumor | 2021-05-22

    I guess you're talking about HHVM, and yes, they developed their own language called "Hack", however, Hack is mostly compatible to PHP and the HHVM can execute PHP code natively without any changes, at least to my knowledge.

  • GitHub repo Swoole

    🚀 Coroutine-based concurrency library for PHP

    Project mention: I would like to learn concurrency and parallelism and I am wondering which language to use. Java or GoLang? | reddit.com/r/cscareerquestions | 2021-06-13

    As was the PHP extension: PHPSwoole. Which is an extension written in C++ that overrides all standard functions/objects with blocking IO, it introduces an event loop, threading, and also uses a fiber-based coroutines like Go. For a performance standpoint, it is very similar to Go, but from a practical standpoint you've got access to 20+ years of libraries and packages.

  • GitHub repo PHPMailer

    The classic email sending library for PHP

    Project mention: PHP MAIL Authentication for Gmail Workspace account | reddit.com/r/PHPhelp | 2021-06-04

    This entry in PHPMailer's documentation describes what you'll need to do: https://github.com/PHPMailer/PHPMailer/wiki/Using-Gmail-with-XOAUTH2

  • GitHub repo Piwik

    Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. We love Pull Requests!

    Project mention: No More Google 🙅 | dev.to | 2021-06-10
  • GitHub repo PHP Parser

    A PHP parser written in PHP

    Project mention: Tree-sitter: an incremental parsing system for programming tools | news.ycombinator.com | 2021-02-22

    I wish there was a more universal format for parsers, but I just don't think there enough people who know their stuff.

    Take PHP, a language that a lot of people use: the tree-sitter-php extension doesn't support features added in 2019, let alone features added towards the end of 2020.

    If you want an up-to-date PHP parser, there's really only one open-source parser[0] that's accurate enough to be used on PHP codebases old and new, and it's written in PHP. Then if you want to parse in a robust fashion you have to adopt a number of hacks to get everything working.

    I hadn't encountered LSIF before – can GitHub be configured to use those maps?

    [0] https://github.com/nikic/PHP-Parser

  • GitHub repo Yii2

    Yii 2: The Fast, Secure and Professional PHP Framework

    Project mention: Yii Html 1.0.0 | reddit.com/r/PHP | 2021-03-17

    php class('float-right')->content( 'Powered by ', Html::a( 'Yii Framework', 'https://www.yiiframework.com/', ['rel' => 'external'] ) ) ?>

  • GitHub repo Parsedown

    Better Markdown Parser in PHP

    Project mention: How markdown emails work in Laravel using `league/commonmark` package | dev.to | 2021-03-17

    The first package used to parse markdown was erusev/parsedown

  • GitHub repo Monica

    Personal CRM. Remember everything about your friends, family and business relationships.

    Project mention: Recommend a self hosted Open source CRM software | reddit.com/r/selfhosted | 2021-05-14

    Monica seems to be quite the popular option

  • GitHub repo Grav

    Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

    Project mention: Help with rationalizing a publish subscription | reddit.com/r/ObsidianMD | 2021-06-10

    For GRAV, visit getgrav.org and then select a skeleton (https://getgrav.org/downloads/skeletons) to get started quickly. I use the "Open Publishing Space" template by Hibbitts Design, but have also used the "Learn2 with Git Sync" and "Knowledge Base" skeletons.

  • GitHub repo Whoops

    PHP errors for cool kids

  • GitHub repo Phabricator

    Effective June 1, 2021: Phabricator is no longer actively maintained.

    Project mention: Migrating from Phabricator to Azure Devops. Have some questions. | reddit.com/r/azuredevops | 2021-06-03

    My company has used Phabricator, which is an alternative to Azure Devops, for about 5 years. A few days ago they announced that the project won't be maintained anymore, so we are looking into alternatives. We have around 50 devs+product folks that use Phabricator at the moment.

  • GitHub repo Cachet

    📛 An open source status page system for everyone.

    Project mention: Looking for a specific Documentation Tool | reddit.com/r/selfhosted | 2021-06-14

    Cachet - https://cachethq.io/ might meet most of your requirements.

  • GitHub repo Flysystem

    Abstraction for local and remote filesystems

    Project mention: PHP library that wraps the FTP extension functions in an OOP way and more compatible with old FTP servers. | reddit.com/r/PHP | 2021-06-05

    Hey, thanks for your comment. Actually, I didn't use Flysystem before, but I've looked at their API methods and I see that they provide simple API methods that can be used in many protocols like SFTP and AWS S3 using adapters for each, so they depend on a file system manipulation abstraction (FilesystemAdapter), and I think that they can't extend it to specific protocol implementation, and as a result, they have a few methods that may be fit the user needs.

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 2021-06-17.


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

Project Stars
1 Laravel 5 65,553
2 Symfony 25,493
3 awesome-php 25,369
4 Composer 25,287
5 Laravel 24,235
6 Guzzle 20,890
7 awesome-cheatsheets 20,686
8 Design Patterns PHP 19,670
9 CodeIgniter 18,152
10 PHPUnit 17,652
11 HHVM 16,977
12 Swoole 16,899
13 PHPMailer 16,776
14 Piwik 15,040
15 PHP Parser 14,584
16 Yii2 13,748
17 Parsedown 13,708
18 Monica 12,951
19 Grav 12,757
20 Whoops 12,443
21 Phabricator 12,159
22 Cachet 12,111
23 Flysystem 11,948