PHP Library

Open-source PHP projects categorized as Library

Top 23 PHP Library Projects

  • chatify

    Laravel's #1 one-to-one chatting system package, helps you add a complete real-time chatting system to your new/existing Laravel application with only one command.

  • Parser-PHP

    Browser sniffing gone too far — A useragent parser library for PHP

  • Cloudways

    Cloudways' Black Friday Offer - 1st Choice of Developers. Cloudways: Devs' 1st choice for managed hosting! Pick from top-tier Cloud providers like DigitalOcean, AWS, and GCE. Limited-time deal: 40% OFF for 4 Months + 40 Free Migrations.

  • simplepie

    A simple Atom/RSS parsing library for PHP.

  • Chronos

    A standalone DateTime library originally based off of Carbon

  • Yasumi

    The easy PHP Library for calculating holidays

  • RulerZ

    Powerful implementation of the Specification pattern in PHP

  • Porter

    :lipstick: Durable and asynchronous data imports for consuming data at scale and publishing testable SDKs. (by ScriptFUSION)

    Project mention: Porter v7 release – Asynchronous data imports, now with fiber support | /r/PHP | 2022-12-09
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • laravel-imap

    Laravel IMAP is an easy way to integrate both the native php-imap module and an extended custom imap protocol into your Laravel app.

    Project mention: ¿Como puedo crear un bot en GMAIL o Whatsapp? Laravel 9 | /r/programacion | 2022-12-11
  • YaLinqo

    Yet Another LINQ to Objects for PHP [Simplified BSD]

  • Shortcode

    Advanced shortcode (BBCode) parser and engine for PHP

  • nutgram

    The Telegram bot framework that doesn't drive you nuts.

    Project mention: Simple free solutions for PHP to send notifications to my phone besides SMS and email? | /r/webdev | 2023-05-19
  • routeros-api-php

    Mikrotik RouterOS API PHP client for your applications

    Project mention: How to disable DHCP Lease using EvilFreelancer routeros-api | /r/mikrotik | 2023-05-18
  • twigcs

    The missing checkstyle for twig!

  • PHP validate

    Lightweight and feature-rich PHP validation and filtering library. Support scene grouping, pre-filtering, array checking, custom validators, custom messages. 轻量且功能丰富的PHP验证、过滤库。支持场景分组,前置过滤,数组检查,自定义验证器,自定义消息。

  • ip

    Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support. (by darsyn)

  • phplrt

    PHP Language Recognition Tool

    Project mention: PHP Skeleton for Bison | /r/PHP | 2023-03-13

    phplrt is another analogue of Bison. It is used to parse SQL/GraphQL queries

  • Elliptic-PHP

    Fast, general Elliptic Curve Cryptography library. Supports curves used in Bitcoin, Ethereum and other cryptocurrencies (secp256k1, ed25519, ..)

  • php-cli

    PHP library to build command line tools (by splitbrain)

    Project mention: Automatic installation of Wordpress on remote server, using Python. | /r/Wordpress | 2023-07-04

    Or you could use PHP! There is php split brain, a library for developing CLI tools in php.

  • Opengraph

    A PHP 5.3+ and PHP 7.3 framework for OpenGraph Protocol (by euskadi31)

  • chevere

    High-quality library for building modern PHP (by chevere)

  • mighty

    The last validation library you will ever need!

  • eseye

    👾 A Standalone, Dynamic ESI (EVE Swagger Interface) Client Library written in PHP

  • sweetalert

    🍩 SweetAlert 2 Implementation for Laravel (by waveygroup)

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

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-07-04.

PHP Library related posts


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

Project Stars
1 chatify 2,038
2 Parser-PHP 1,748
3 simplepie 1,502
4 Chronos 1,337
5 Yasumi 986
6 RulerZ 876
7 Porter 603
8 laravel-imap 595
9 YaLinqo 436
10 Shortcode 369
11 nutgram 365
12 routeros-api-php 344
13 twigcs 320
14 PHP validate 254
15 ip 242
16 phplrt 196
17 Elliptic-PHP 194
18 php-cli 159
19 Opengraph 91
20 chevere 75
21 mighty 55
22 eseye 48
23 sweetalert 46
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.