Open-source projects categorized as PHP

Top 23 PHP Open-Source Projects

  • Laravel

    Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.

    Project mention: Creating GraphQL APIs with Laravel | | 2024-02-15

    In this tutorial, we will learn how to create a GraphQL API with Laravel, a popular PHP web framework. We will be creating a simple student model, seeding the database with dummy data, setting up a database connection, and creating a GraphQL server by defining our API's schema, queries, and mutations. We’ll also learn how to make requests to our API (test our endpoints) using a tool like Insomnia or Postman. By the end of this tutorial, you will have a working GraphQL API that you can continue to expand and improve.

  • awesome-cheatsheets

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

    Project mention: Good coding groups for black women? | | 2024-01-13
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • Laravel

    The Laravel Framework.

    Project mention: Tell HN: Laravel's default truncate method uses cascade for Postgres databases | | 2024-02-23

    Hope this saves a future team from unexpected behavior resulting in (potential) production data loss.

    When using Postgres, Laravel's default method for truncate uses the cascade option, which will ignore foreign key constraints and potentially wipe large amounts of data with no confirmation or warning.

    It was originally introduced in 2018:

    Here are two threads on it if you are curious:

  • awesome-php

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

    Project mention: Top 10 Websites to Get Help When You Are Stuck as a Developer | | 2023-12-13

    7. Awesome PHP - Awesome PHP is a curated list of amazingly awesome PHP libraries, resources, and tools. It's a great resource for finding solutions to PHP-related problems.

  • Symfony

    The Symfony PHP framework

    Project mention: Top 12 PHP Frameworks For Web Development in 2024 | | 2024-02-13

    Symfony is an open-source PHP framework developed by SensioLabs which has a thriving community of over 300,000 developers with 29k stars and 9.4k forks on GitHub. It provides a set of reusable PHP components and a development methodology for building complex and scalable web applications. It is recommended due to its advanced features and user-friendly environment. The user can also develop microservices.

  • Composer

    Dependency Manager for PHP

    Project mention: How To Send WhatsApp Messages with Laravel | | 2024-02-14


  • Nextcloud

    ☁️ Nextcloud server, a safe home for all your data

    Project mention: OpenBSD Upgrade 7.3 to 7.4 | | 2024-02-16

    See Configuration and syntax changes and Special packages. The latter this time includes changes around NextCloud 23 and Tor Browser prior to 12.5, both of which should be upgraded beforehand.


    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • Guzzle

    Guzzle, an extensible PHP HTTP client

    Project mention: Open Source Projects You Can Lay Your Hand On | /r/XBScompany | 2023-12-06

    Guzzle is a PHP HTTP client library. It’s a simple and effective solution for sending HTTP requests and managing HTTP/1.1 and HTTP/2.0 responses. This versatile tool excels in several areas, allowing developers to build query strings quickly, send POST requests, upload JSON data, and handle other HTTP-related tasks. Moreover, Guzzle facilitates both synchronous and asynchronous request handling, providing flexibility for different scenarios.

  • Monolog

    Sends your logs to files, sockets, inboxes, databases and various web services

    Project mention: I don't understand error_log | /r/PHP | 2023-12-10

    To add onto this, what's more commonly done these days is to use a library like Monolog which can be configured with multiple log handlers. One of the handlers which are typically enabled is one which writes to error_log. You can add more which write directly to a logging service like Sentry or whatever, or even in dev write an HTTP header paired with a browser extension which puts your backend log messages in your browser console (see the handler + install the extension for chrome or firefox)

  • Monica

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

    Project mention: Selfhosting services to make life easier for my parents? | /r/selfhosted | 2023-12-09
  • PHPMailer

    The classic email sending library for PHP

    Project mention: What to use besides contact form? | /r/webdev | 2023-12-10

    Then make a form and use PHPMailer.

  • PHPUnit

    The PHP Unit Testing framework.

    Project mention: How to migrate from Api Platform v2 to v3? | | 2023-11-29

    Before updating Api Platform, you should make sure that your Api Platform routes are fully covered by tests. You can define integration tests with PHPUnit, Behat or Pest, depending on the tool you’re most comfortable with.

  • Matomo

    Empowering People Ethically with the leading open source 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. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!

    Project mention: 🔥Matomo 5 UPGRADE - A step-by-step GUIDE 🤌 | | 2024-01-04

    Matomo just released their major v5 upgrade with following key improvements:

  • WordPress

    WordPress, Git-ified. This repository is just a mirror of the WordPress subversion repository. Please do not send pull requests. Submit pull requests to and patches to instead.

    Project mention: Leveraging WordPress as a Headless CMS for Your Astro Website: A Comprehensive Guide | | 2024-02-21

    WordPress as the backend headless CMS, offering a versatile content management foundation.

  • CodeIgniter

    Open Source PHP Framework (originally from EllisLab)

    Project mention: Top 12 PHP Frameworks For Web Development in 2024 | | 2024-02-13

    CodeIgniter is an open-source PHP framework with 18k+ stars and 7.8K forks on GitHub. It follows the Model-View-Controller (MVC) architecture and provides a structured way to create and organize code. It provides a set of libraries and an intuitive interface to accelerate PHP web app development.

  • Swoole

    🚀 Coroutine-based concurrency library for PHP

    Project mention: Performance benchmark of PHP runtimes | | 2024-01-17


  • HHVM

    A virtual machine for executing programs written in Hack.

    Project mention: Should I Rust or should I Go | | 2023-09-15
  • PHP Parser

    A PHP parser written in PHP

    Project mention: Diff Speeding - Rector and sebastian/diff speed improvements through profiling | /r/PHP | 2023-05-06

    Interesting. One of the reasons I stopped considering Rector is because of how memory, CPU, and time intensive it is for a non-trivial project. Instead I've been using Nikita's PHP Parser directly and getting much better results even though it isn't multi-threaded out of the box.


    ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.

    Project mention: Library to parse slash commands with validation? | /r/dotnet | 2023-06-02


  • Flarum

    Simple forum software for building great communities.

    Project mention: Posthog is closing their Slack community in favor of forum | | 2024-01-13
  • Parsedown

    Better Markdown Parser in PHP

    Project mention: Parsedown: Better Markdown Parser in PHP | | 2024-01-05
  • Grav

    Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony

    Project mention: Grav is a modern open-source flat-file CMS | | 2023-07-16
  • Yii2

    Yii 2: The Fast, Secure and Professional PHP Framework

    Project mention: Top 12 PHP Frameworks For Web Development in 2024 | | 2024-02-13

    Yii is one of the oldest PHP frameworks, acronym as Yes It Is! It has 14.2k stars and 7k forks on GitHub. It is a fast, secure, and flexible PHP framework for web development, especially for building MVC architecture websites. It is an Object-Oriented PHP framework that requires knowledge of inheritance, polymorphism, etc.

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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 2024-02-23.

PHP related posts


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

Project Stars
1 Laravel 76,057
2 awesome-cheatsheets 36,595
3 Laravel 31,009
4 awesome-php 29,983
5 Symfony 29,105
6 Composer 28,118
7 Nextcloud 25,082
8 Guzzle 22,911
9 Monolog 20,718
10 Monica 20,381
11 PHPMailer 20,352
12 PHPUnit 19,521
13 Matomo 18,777
14 WordPress 18,523
15 CodeIgniter 18,259
16 Swoole 18,153
17 HHVM 17,935
18 PHP Parser 16,491
19 ANTLR 16,079
20 Flarum 14,716
21 Parsedown 14,579
22 Grav 14,211
23 Yii2 14,171
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.