Open-source PHP projects categorized as PHP

Top 23 PHP PHP 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.

  • 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:

  • 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.

  • 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: Experience Continuous Integration with Jenkins | Ansible | Artifactory | SonarQube | PHP | | 2024-02-24

    On you Jenkins server, install PHP, its dependencies and Composer tool (Feel free to do this manually at first, then update your Ansible accordingly later)

  • 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.

  • 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)


    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!

  • 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: 8 Essential Tools Every PHP Developer Needs | | 2024-02-27

    PHPUnit is the de facto standard for PHP unit testing. It provides a framework for writing and running tests, helping developers quickly discover and fix errors. PHPUnit encourages developers to write testable code and adopt a test-driven development approach, resulting in higher-quality code and reduced chances of errors in production.

  • 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.

  • 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.

  • 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.

  • Intervention Image

    PHP Image Processing

  • Firefly III

    Firefly III: a personal finances manager

    Project mention: Firefly III: A free and open source personal finance manager | | 2024-02-15

    Not SQL, but check out the contents of the database folder. For example:

  • BookStack

    A platform to create documentation/wiki content built with PHP & Laravel

    Project mention: 15 open-source tools to elevate your software design workflow | | 2024-01-22

    Link | Demo | Github | License

  • Flysystem

    Abstraction for local and remote filesystems

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

    Flysystem is a PHP project with open source code that revolutionizes work with the filesystem. It offers a unified and straightforward approach by abstracting the differences between various file system types, including local and cloud-based ones. You can utilize a consistent API to integrate it into your projects seamlessly. You can use it in any web application that works with data storage to make it more efficient and user-friendly.

  • Whoops

    PHP errors for cool kids

  • 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-27.

PHP PHP related posts


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

Project Stars
1 Laravel 76,133
2 Laravel 31,043
3 Symfony 29,118
4 Composer 28,118
5 Nextcloud 25,082
6 Guzzle 22,911
7 Monolog 20,718
8 Monica 20,409
9 PHPMailer 20,352
10 PHPUnit 19,521
11 Matomo 18,777
12 WordPress 18,523
13 CodeIgniter 18,259
14 PHP Parser 16,491
15 Flarum 14,716
16 Parsedown 14,579
17 Grav 14,211
18 Yii2 14,171
19 Intervention Image 13,610
20 Firefly III 13,556
21 BookStack 13,421
22 Flysystem 13,138
23 Whoops 13,103
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.