PHP Libraries for Linux

View 52 business solutions

Browse free open source PHP Libraries for Linux and projects below. Use the toggles on the left to filter open source PHP Libraries for Linux by OS, license, language, programming language, and project status.

  • Keep company data safe with Chrome Enterprise Icon
    Keep company data safe with Chrome Enterprise

    Protect your business with AI policies and data loss prevention in the browser

    Make AI work your way with Chrome Enterprise. Block unapproved sites and set custom data controls that align with your company's policies.
    Download Chrome
  • The All-in-One Commerce Platform for Businesses - Shopify Icon
    The All-in-One Commerce Platform for Businesses - Shopify

    Shopify offers plans for anyone that wants to sell products online and build an ecommerce store, small to mid-sized businesses as well as enterprise

    Shopify is a leading all-in-one commerce platform that enables businesses to start, build, and grow their online and physical stores. It offers tools to create customized websites, manage inventory, process payments, and sell across multiple channels including online, in-person, wholesale, and global markets. The platform includes integrated marketing tools, analytics, and customer engagement features to help merchants reach and retain customers. Shopify supports thousands of third-party apps and offers developer-friendly APIs for custom solutions. With world-class checkout technology, Shopify powers over 150 million high-intent shoppers worldwide. Its reliable, scalable infrastructure ensures fast performance and seamless operations at any business size.
    Learn More
  • 1

    PHP Simple HTML DOM Parser

    A php based DOM parser.

    A simple PHP HTML DOM parser written in PHP5+, supports invalid HTML, and provides a very easy way to find, extract and modify the HTML elements of the dom. jquery like syntax allow sophisticated finding methods for locating the elements you care about.
    Leader badge
    Downloads: 1,795 This Week
    Last Update:
    See Project
  • 2
    PHPMailer

    PHPMailer

    The classic email sending library for PHP

    PHPMailer – A full-featured email creation and transfer class for PHP. Support for UTF-8 content and 8bit, base64, binary, and quoted-printable encodings. SMTP authentication with LOGIN, PLAIN, CRAM-MD5, and XOAUTH2 mechanisms over SMTPS and SMTP+STARTTLS transports. Validates email addresses automatically. Many PHP developers need to send email from their code. The only PHP function that supports this directly is mail(). However, it does not provide any assistance for making use of popular features such as encryption, authentication, HTML messages, and attachments. Formatting email correctly is surprisingly difficult. There are myriad overlapping (and conflicting) standards, requiring tight adherence to horribly complicated formatting and encoding rules – the vast majority of code that you'll find online that uses the mail() function directly is just plain wrong, if not unsafe!
    Downloads: 157 This Week
    Last Update:
    See Project
  • 3
    PhpSpreadsheet

    PhpSpreadsheet

    A pure PHP library for reading and writing spreadsheet files

    PhpSpreadsheet is a library written in pure PHP and offers a set of classes that allow you to read and write various spreadsheet file formats such as Excel and LibreOffice Calc. PhpSpreadsheet is a library written in pure PHP and offers a set of classes that allow you to read and write various spreadsheet file formats such as Excel and LibreOffice Calc. Support for PHP versions will only be maintained for a period of six months beyond the end of life of that PHP version. Use composer to install PhpSpreadsheet into your project. Or also download the documentation and samples if you plan to use them. A good way to get started is to run some of the samples. Don't forget to download them via --prefer-source composer flag. And then serve them via PHP built-in webserver. PhpSpreadsheet relies on Composer autoloader. So before working with PhpSpreadsheet in standalone, be sure to run composer install.
    Downloads: 114 This Week
    Last Update:
    See Project
  • 4
    mPDF

    mPDF

    PHP library generating PDF files from UTF-8 encoded HTML

    mPDF is a PHP library that generates PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files ‘on-the-fly’ from his website, handling different languages. It is slower than the original scripts e.g. HTML2FPDF and produces larger files when using Unicode fonts, but support for CSS styles etc. and has been much enhanced. Supports almost all languages including RTL (Arabic and Hebrew), and CJK (Chinese-Japanese-Korean). Nested block-level elements (e.g. P, DIV) including margins, borders, padding, line height, background colors, etc. Right-to-left languages are supported, with automatic detection of RTL characters within a document. Transposes tables, lists, text justification, and table cell alignment, as well as a full-text reversal for RTL characters. Automatically detects non-RTL characters and displays these in the original order.
    Downloads: 96 This Week
    Last Update:
    See Project
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • 5
    PHPWord

    PHPWord

    PHP library for reading and writing word processing documents

    PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats. The current version of PHPWord supports Microsoft Office Open XML (OOXML or OpenXML), OASIS Open Document Format for Office Applications (OpenDocument or ODF), and Rich Text Format (RTF). PHPWord is an open source project licensed under the terms of LGPL version 3. PHPWord is aimed to be a high quality software product by incorporating continuous integration and unit testing. Set document properties, e.g. title, subject, and creator. Create document sections with different settings, e.g. portrait/landscape, page size, and page numbering. Create header and footer for each sections, set default font type, font size, and paragraph style. Use UTF-8 and East Asia fonts/characters. Define custom font styles (e.g. bold, italic, color) and paragraph styles (e.g. centered, multicolumns, spacing) either as named style or inline in text.
    Downloads: 32 This Week
    Last Update:
    See Project
  • 6
    PHPExcel

    PHPExcel

    Library offering classes to read from and write to spreadsheet formats

    PHPExcel is a comprehensive library for reading, writing, and manipulating Excel spreadsheets in PHP, supporting multiple formats like XLS, XLSX, CSV, and more. Developers can create complex spreadsheets with styled cells, formulas, charts, images, and multiple sheets programmatically. It also supports reading existing files, iterating through cells, applying data validation, and converting between formats. Because it handles the details of Excel file structures—including relationships, themes, and various metadata—users don’t need to manage proprietary file internals themselves. The API allows for cell access using row/column indexes or column letters, batch updates, and streaming writes to reduce memory usage. As a mature library, it’s used in reporting, migrations, invoice generation, and any scenario where dynamic, server-side spreadsheet generation is needed in PHP applications.
    Downloads: 10 This Week
    Last Update:
    See Project
  • 7
    Open Source Social Network

    Open Source Social Network

    Open Source Social Network (OSSN) is a social networking software

    Open Source Social Network (OSSN) is a social networking software written in PHP. It allows you to make a social networking website and helps your members build social relationships, with people who share similar professional or personal interests. It is available in 17 international languages. OSSN Licensed under the Open Source Social Network License (4.0) / Cryptographic Autonomy License version 1.0. OSSN must be installed into a directory writable by the webserver, or it will not function properly. For most Linux servers running Apache v2, making the parent directory writable is very simple. If you are not running Apache v2 or are using a different type of webserver, you'll need to read your system's documentation or speak to your server administrator before proceeding.
    Downloads: 8 This Week
    Last Update:
    See Project
  • 8
    Doctrine Collections

    Doctrine Collections

    Collections abstraction library

    Doctrine Collections is a library that contains classes for working with arrays of data. Doctrine Collections provides an interface named Doctrine\Common\Collections\Collection that resembles the nature of a regular PHP array. That is, it is essentially an ordered map that can also be used like a list. A Collection has an internal iterator just like a PHP array. In addition, a Collection can be iterated with external iterators, which is preferable. To use an external iterator simply use the foreach language construct to iterate over the collection, which calls getIterator() internally, or explicitly retrieve an iterator though getIterator() which can then be used to iterate over the collection. You can not rely on the internal iterator of the collection being at a certain position unless you explicitly positioned it before.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 9
    Photobooth

    Photobooth

    A photobooth Web-Application for raspberry pi with gphoto2

    A Photobooth web interface for Raspberry Pi and Windows. Event-specific (e.g. wedding, birthday) config to show a symbol (e.g. heart) between some text on the start page. Green screen keying (chroma keying). Photo collage function: take 4 pictures in a row with or without interruption and let it generate a collage out of it. Save pictures with a Polaroid effect. Adjust take picture and print commands. And many more options to adjust and style the Photobooth for your personal needs.
    Downloads: 4 This Week
    Last Update:
    See Project
  • Level Up Your Cyber Defense with External Threat Management Icon
    Level Up Your Cyber Defense with External Threat Management

    See every risk before it hits. From exposed data to dark web chatter. All in one unified view.

    Move beyond alerts. Gain full visibility, context, and control over your external attack surface to stay ahead of every threat.
    Try for Free
  • 10
    Fast Artificial Neural Network Library is a free open source neural network library, which implements multilayer artificial neural networks in C with support for both fully connected and sparsely connected networks. Cross-platform execution in both fixed and floating point are supported. It includes a framework for easy handling of training data sets. It is easy to use, versatile, well documented, and fast. Bindings to more than 15 programming languages are available. An easy to read introduction article and a reference manual accompanies the library with examples and recommendations on how to use the library. Several graphical user interfaces are also available for the library.
    Downloads: 24 This Week
    Last Update:
    See Project
  • 11
    BotMan

    BotMan

    A framework agnostic PHP library to build chat bots

    Write your chatbot logic once and connect it to one of the available messaging services, including Amazon Alexa, Facebook Messenger, Slack, Telegram or even your own Website. BotMan is framework agnostic, which means you can use it in your existing codebase, whatever framework you might use. Starting a new chatbot project? BotMan Studio is a Laravel 5.5 boiler project to get you started in no time! BotMan is all about having an expressive, yet powerful syntax that allows you to focus on the business logic, not on framework code. BotMan is a framework agnostic PHP library that is designed to simplify the task of developing innovative bots for multiple messaging platforms, including Slack, Telegram, Microsoft Bot Framework, Nexmo, HipChat, Facebook Messenger and WeChat.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 12
    CodeIgniter RestServer

    CodeIgniter RestServer

    RESTful server implementation for CodeIgniter

    CodeIgniter RestServer is a fully RESTful server implementation for CodeIgniter using one library, one config file and one controller. CodeIgniter Rest Server is available on Packagist (using semantic versioning), and installation via composer is the recommended way to install Codeigniter Rest Server. Note that you will need to copy rest.php to your config directory (e.g. application/config)
    Downloads: 3 This Week
    Last Update:
    See Project
  • 13
    Google Translate PHP

    Google Translate PHP

    Free Google Translate API PHP Package

    A simple and effective PHP library for translating text using Google Translate without needing an API key. It allows developers to integrate real-time translation features into their applications with minimal setup and supports multiple languages, leveraging Google Translate’s unofficial endpoint.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 14
    JWT

    JWT

    A simple library to work with JSON Web Token and JSON Web Signature

    lcobucci/jwt is a framework-agnostic PHP library that allows you to issue, parse, and validate JSON Web Tokens based on the RFC 7519. The package is available on Packagist, you can install it using Composer. A simple library to work with JSON Web Token and JSON Web Signature based on RFC 7519. Once the library has been installed, you are able to issue and parse JWTs. To reduce the chance of having flaky tests on your test suite, the facade supports the usage of a clock object. That allows passing an implementation that always returns the same point in time.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 15
    SimplePie

    SimplePie

    A simple Atom/RSS parsing library for PHP

    SimplePie is a very fast and easy-to-use feed parser, written in PHP, that puts the 'simple' back into 'really simple syndication. Flexible enough to suit beginners and veterans alike, SimplePie is focused on speed, ease of use, compatibility, and standards compliance. SimplePie is currently maintained by Malcolm Blaney. Get easy access to SimplePie directly from your web browser! We've worked extra hard to ensure that SimplePie is easy to use and easy to understand. That being said, it never hurts to get a little help to speed things up! We've got a collection of tips, tricks, tutorials, and screencasts to help you along the way! Looking to integrate SimplePie into your blogs, wikis, forums, or other sites? The SimplePie Community has created several plugins that allow you to use SimplePie with all sorts of other software! Check our SimplePie Plugins page for a list of what we're aware of.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 16
    Spatie Crawler

    Spatie Crawler

    An easy to use, powerful crawler implemented in PHP

    Spatie Crawler is a PHP library that allows developers to crawl websites and extract information efficiently. It can be used for web scraping, link checking, or automated testing of web pages. The library is simple to use and supports customizable crawling strategies, including controlling crawl depth and handling redirects. It’s suitable for building crawlers that navigate large or dynamically generated websites.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 17
    reCAPTCHA

    reCAPTCHA

    PHP client library for reCAPTCHA, a free service

    reCAPTCHA is Google’s human-verification system that helps websites distinguish real users from automated abuse while keeping friction low for legitimate traffic. The project bundles client and server examples, language-specific helpers, and documentation patterns for integrating reCAPTCHA v2 and v3 flows into web forms and APIs. Its design philosophy is “risk-based”: most users pass silently based on behavioral signals, while higher-risk interactions may be challenged with an image, checkbox, or other verification step. Site owners register keys, embed a small client script, and verify tokens on the server to protect actions like sign-ups, logins, and form submissions. The ecosystem supports mobile and enterprise variants, but the repo focuses on common web integrations and best practices for verifying the token securely. Deployed correctly, reCAPTCHA reduces credential stuffing, bot sign-ups, and scraping without degrading the experience for typical users.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 18
    Directory Lister

    Directory Lister

    Directory Lister exposes the contents of any web folder

    Directory Lister is a simple, self-hosted PHP application that lets users browse and share the contents of directories over the web. It creates a web interface to list files and folders on a server, complete with download links, breadcrumb navigation, and optional themes. Ideal for file sharing and public repositories, it requires no database and can be deployed quickly on any PHP-compatible server.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 19
    Guzzle Promises

    Guzzle Promises

    A library for PHP with synchronous support

    Promises/A+ implementation that handles promise chaining and resolution iteratively, allowing for "infinite" promise chaining while keeping the stack size constant. A promise represents the eventual result of an asynchronous operation. The primary way of interacting with a promise is through its then method, which registers callbacks to receive either a promise's eventual value or the reason why the promise cannot be fulfilled. Callbacks are registered with the then method by providing an optional $onFulfilled followed by an optional $onRejected function. Resolving a promise means that you either fulfill a promise with a value or reject a promise with a reason. Resolving a promises triggers callbacks registered with the promises's then method. These callbacks are triggered only once and in the order in which they were added.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 20
    Sentry PHP

    Sentry PHP

    The official PHP SDK for Sentry (sentry.io)

    Sentry for PHP is a powerful error tracking library that helps developers identify, capture, and debug application issues in real time. It integrates seamlessly with PHP applications and frameworks like Laravel and Symfony, making it a go-to tool for production error monitoring.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 21
    Swoole

    Swoole

    Coroutine-based concurrency library for PHP

    Build high-performance, scalable, concurrent TCP, UDP, Unix Socket, HTTP, WebSocket services with PHP and easy to use coroutine, fiber API. Write your next scalable async application server with PHP coroutine and PHP fiber API. Compared with other async programming frameworks or softwares such as Nginx, Tornado, Node.js, Swoole has the built-in PHP coroutine, fiber and async support, multiple threads I/O modules. You can use sync or async, coroutine, fiber API to write the applications or create thousands of light weight fibers within one Linux process. Swoole PHP network framework enhances the efficiency of development team. The network layer in Swoole is event-based and takes full advantage of the underlying epoll/kqueue implementation, making it really easy to serve millions of requests. Swoole 4.x uses a brand new engine kernel and now it has a full-time developer team, so we are entering an unprecedented period in PHP history which offers a unique possibility for rapid evolution.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 22
    Web Push PHP

    Web Push PHP

    Web Push library for PHP

    WebPush-PHP is a server-side library to send Web Push notifications to browsers using the W3C Push API standard. It supports encrypted push messages and is compatible with service workers in major browsers like Chrome and Firefox.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 23
    WhichBrowser

    WhichBrowser

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

    This is an extremely complicated and almost completely useless browser-sniffing library. Useless because you shouldn't use browser sniffing. So stop right now and go read something about feature detecting instead. I'm serious. Go away. You'll thank me later. There is always an exception to the rule. There are valid reasons to do browser sniffing: to improve the user experience or to gather intelligence about which browsers are used on your website. My website is html5test.com and I wanted to know which score belongs to which browser. To do that you need a browser sniffing library. Almost all browsers say they are Netscape 5 and almost all WebKit browsers say they are based on Gecko. Even Internet Explorer 11 now no longer claims to be IE at all, but instead, an unnamed browser that is like Gecko. And it gets worse. That is why it is complicated.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 24
    CakePHP Chronos

    CakePHP Chronos

    A standalone DateTime library originally based off of Carbon

    Chronos focuses on providing immutable date/datetime objects. Immutable objects help ensure that datetime objects aren't accidentally modified keeping data more predictable. Chronos was originally compatible with Carbon but has diverged and no longer extends the PHP DateTime and DateTimeImmutable classes. PHP only offers datetime objects as part of the native extensions. Chronos adds a number of conveniences to the traditional DateTime object and introduces a ChronosDate object. ChronosDate instances their time frozen to 00:00:00 and the timezone set to the server default timezone. This makes them ideal when working with calendar dates as the time components will always match.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 25
    Doctrine Inflector

    Doctrine Inflector

    Small library for string manipulations to uppercase/lowercase words

    PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words. The Doctrine Inflector has methods for inflecting text. The features include pluralization, singularization, converting between camelCase and under_score and capitalizing words. Using the inflector is easy, you can create a new Doctrine\Inflector\Inflector instance by using the Doctrine\Inflector\InflectorFactory class. By default it will create an English inflector. If you want to use another language, you can do so. The supported languages are English, Spanish, French, Portuguese, Norwegian Bokmal and Turkish. If you are interested in adding support for your language, take a look at the other languages defined in the Doctrine\Inflector\Rules namespace and the tests located in Doctrine\Tests\Inflector\Rules. You can copy one of the languages and update the rules for your language.
    Downloads: 1 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • 5
  • Next
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.