PHP

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: RESTful APIs with Laravel: Best Practices | dev.to | 2024-04-09

    Laravel is a popular PHP framework known for its expressive syntax and rich ecosystem of features. Here's why it shines for building RESTful APIs:

  • awesome-cheatsheets

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

  • Project mention: 2024 Cheat Sheet Collection | dev.to | 2024-03-16

    Awesome Cheat Sheets: This curated list of cheat sheets covers a wide range of topics, including programming languages, frameworks, databases, and more, making it a valuable resource for developers of all levels.

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

    InfluxDB logo
  • Laravel

    The Laravel Framework.

  • Project mention: Tell HN: Laravel's default truncate method uses cascade for Postgres databases | news.ycombinator.com | 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: https://github.com/laravel/framework/pull/26389/files

    Here are two threads on it if you are curious: https://github.com/laravel/framework/issues/29506

  • 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 | dev.to | 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: Using interfaces the wrong way | dev.to | 2024-03-24

    Let's have a look at the class EventSourceHttpClient and try to use it in Symfony\Component\Webhook\Server\Transport. It's an entirely hypothetical example to illustrate the point.

  • Composer

    Dependency Manager for PHP

  • Project mention: Tutorial Cara Instal Composer di Linux | dev.to | 2024-04-11
  • Nextcloud

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

  • Project mention: Happy 20th Anniversary, Gmail. I'm Sorry I'm Leaving You | news.ycombinator.com | 2024-04-15

    It really is hard to leave Gmail when all of your data has been conveniently stored therein. This is one of Google's retention strategies and it is indeed brilliant.

    That said, there's a vast number of self-hosted alternatives like Stalwart Mail (email) [1], Immich (images) [2], NextCloud (Google Docs) [3], etc.

    [1] https://stalwa.rt

    [2] https://immich.app

    [3] https://nextcloud.com/

  • WorkOS

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

    WorkOS logo
  • 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: 8 Essential Tools Every PHP Developer Needs | dev.to | 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: Ask HN: Tips to get started on my own server | news.ycombinator.com | 2024-03-25
  • 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 https://github.com/WordPress/wordpress-develop and patches to https://core.trac.wordpress.org/ instead.

  • Project mention: Building a High-Performance Website with Next.js and WordPress | dev.to | 2024-03-19

    Creating a high-performance website is essential in today’s digital age. Speed, efficiency, and a seamless user experience are the cornerstones of successful web development. This article explores how combining Next.js with WordPress can achieve these goals, providing a robust solution for developers looking to elevate their web projects.

  • CodeIgniter

    Open Source PHP Framework (originally from EllisLab)

  • Project mention: Top 12 PHP Frameworks For Web Development in 2024 | dev.to | 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 | dev.to | 2024-01-17

    Swoole

  • HHVM

    A virtual machine for executing programs written in Hack.

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

    A PHP parser written in PHP

  • Project mention: PHP-Parser: A PHP parser written in PHP | news.ycombinator.com | 2024-03-06
  • ANTLR

    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

    antlr https://github.com/antlr/antlr4

  • Flarum

    Simple forum software for building great communities.

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

    Better Markdown Parser in PHP

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

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

  • Project mention: Ask HN: What products other than Obsidian share the file over app philosophy? | news.ycombinator.com | 2024-04-03

    There are flat-file CMSes (content management systems) like Grav: https://getgrav.org/

    I guess, in some vague/broad sense, config-as-code systems also implement something similar? Maybe even OpenAPI schemas could count to some degree...?

    In the old days, the "semantic web" movement was an attempt to make more webpages both human- and machine-readable indefinitely by tagging them with proper schema: https://en.wikipedia.org/wiki/Resource_Description_Framework. Even Google was on board for a while, but I guess it never saw much uptake. As far as I can tell it's basically dead now, both because of non-semantic HTML (everything as a React div), general laziness, and LLMs being able to parse things loosely.

    -------------

    Side thoughts...

    Philosophically, I don't know that capturing raw data alone as files is really sufficient to capture the nuances of any particular experience, or the overall zeitgeist of an era. You can archive Geocities pages, but that doesn't really capture the novelty and indie-ness of that era. Similarly, you can save TikTok videos, but absent the cultural environment that created them (and a faithful recreation of the recommendation algorithm), they wouldn't really show future archaeologists how teenagers today lived.

    I worked for a natural history museum for a while, and while we were there, one of the interesting questions (well, to me anyway) was whether our web content was in and of itself worth preserving as a cultural artifact -- both so that future generations can see what exhibits were interesting/apropos for the cultures of our times, but also so they could see how our generation found out about those exhibitions to begin with (who knows what the Web will morph into 50 years later). It wasn't enough to simply save the HTML of our web pages, both because they tie into various other APIs and databases (like zoological collections) and because some were interactive experiences, like games designed to be played with a mouse (before phones were popular), or phone chatbots with some of our specimens. To really capture the experience authentically would've required emulating not just our tech stacks and devices, among other things.

    Like for the earlier Geocities example, sure you could just save the old HTML and render it with a modern browser, but that's not the same as something like https://oldweb.today/?browser=ns3-mac#http://geocities.com/ , which emulates the whole OS and browser too. And that still isn't the same as having to sit in front of a tiny CRT and wait minutes for everything to download over a 14.4k modem, only to be interrupted when mom had to make a call.

    I guess that's a longwinded of critiquing "file over app": It only makes sense for things that are originally files/documents to begin with. Much of our lives now are not flat docs but "experiences" that take much more thought and effort to archive. If the goal is truly to preserve that posterity, it's not enough to just archive their raw data, but to develop ways to record and later emulate entire experiences, both technological and cultural. It ain't easy!

  • Yii2

    Yii 2: The Fast, Secure and Professional PHP Framework

  • Project mention: Top 12 PHP Frameworks For Web Development in 2024 | dev.to | 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.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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-04-15.

PHP related posts

Index

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

Project Stars
1 Laravel 76,699
2 awesome-cheatsheets 37,460
3 Laravel 31,453
4 awesome-php 30,311
5 Symfony 29,274
6 Composer 28,225
7 Nextcloud 25,494
8 Guzzle 22,977
9 Monolog 20,782
10 Monica 20,645
11 PHPMailer 20,551
12 PHPUnit 19,538
13 Matomo 18,999
14 WordPress 18,745
15 CodeIgniter 18,253
16 Swoole 18,203
17 HHVM 17,982
18 PHP Parser 16,826
19 ANTLR 16,331
20 Flarum 14,884
21 Parsedown 14,639
22 Grav 14,283
23 Yii2 14,204
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com