Open-source PHP projects categorized as HTML

Top 23 PHP HTML Projects

  • Dompdf

    HTML to PDF converter for PHP

    Project mention: Dompdf as a Phar | /r/PHPhelp | 2023-07-21

    I am using Dompdf to create my pdf. However, I want the Dompdf project into a reusable phar. How do I do that? Do I need to leave the dependencies in the project, or can I put them into their own phar? I just want the breakdown on how to easily do this from scratch.

  • PHPWord

    A pure PHP library for reading and writing word processing documents

    Project mention: Reading accents in doc files | /r/PHPhelp | 2023-01-27

    If the files are in UTF-8 there shouldn't be encoding issues, but I found this encoding issue from 2017 in the github for PHPWord: which may help.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • Polr

    :aerial_tramway: A modern, powerful, and robust URL shortener

    Project mention: Copying microsofts links with our internal Dns to help stop phishing | /r/sysadmin | 2023-07-08

    That said, setting up a URL shortener to forward HTTP requests it pretty trivial. There are open source projects that already exist for this purpose. For example,

  • mPDF

    PHP library generating PDF files from UTF-8 encoded HTML

    Project mention: HTML to PDF package that supports RTL language? | /r/laravel | 2023-05-11

    Not sure if it has all the things you need but we use

  • DiDOM

    Simple and fast HTML and XML parser

  • HTML to Markdown

    Convert HTML to Markdown with PHP

  • psl

    📚 PHP Standard Library - a modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers

    Project mention: Avoiding empty() in PHP | /r/PHP | 2023-05-11

    One of the companies made heavy use of azjezz/psl and used extended rules for it. Anyone who's not used to strict type mode and type-hinting all the code they write would have a hard time getting a job at those companies.

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • tailwindo

    🔌 Convert Bootstrap CSS code to Tailwind CSS code

    Project mention: Migrating a large app from Bootstrap to plain CSS/JS | /r/Frontend | 2023-02-21

    I found this

  • Latte

    ☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.

    Project mention: State of PHP templating | /r/PHP | 2023-04-25

    Have a look at Latte. It gives you a template engine that looks and feels a lot like PHP itself, rather than being a port of Python.

  • emogrifier

    Converts CSS styles into inline style attributes in your HTML code.

    Project mention: Hey! How do I make a template that look like this? I want that to be applied to the every email I'd compose. | /r/web_design | 2023-03-09

    There is a project for php that pick your html + css source file and transform all the css to inline style. it helped me create some cool email design with bootstrap

  • laravel-html

    Painless html generation

  • Monitorr

    "Monitorr” is a self-hosted PHP web app that monitors the status of local and remote network services, websites, and applications.

    Project mention: Webserver to rule them all, to work as a fowarding and encrypting | /r/selfhosted | 2023-06-03
  • html5-dom-document-php

    A better HTML5 parser for PHP.

    Project mention: Serve static HTML archives with Laravel? | /r/laravel | 2023-03-26

    Been using this package which is based on DOMDocument and it's been useful for me, super easy to pull sections of a page:

  • viewi

    A powerful tool for building full-stack and completely reactive web applications with PHP

    Project mention: Reactive web application with Viewi | /r/laravel | 2022-11-03

    More here:

  • pug

    Pug template engine for PHP (by pug-php)

  • KLiK-SocialMediaWebsite

    Complete PHP-based Login/Registration system, Profile system, Chat room, Forum system and Blog/Polls/Event Management System.

  • html-sanitizer

    Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM. (by symfony)

  • orangescrum

    Orangescrum is a simple yet powerful free and open source project management software that helps team to organize their tasks, projects and deliver more.

    Project mention: Orangescrum not installling in Centos 7? | /r/linux4noobs | 2023-05-12 Then, I setup some permissions and ownership as per documentation.

  • HtmlMin

    :clamp: HtmlMin: HTML Compressor and Minifier via PHP

  • SkinSystem

    The Minecraft SkinSystem for SkinsRestorer

  • gotenberg-php

    🐘 A PHP client for interacting with Gotenberg.

    Project mention: TCPDF | /r/PHP | 2022-09-28
  • Url highlight

    PHP library to parse urls from string input

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

PHP HTML related posts


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

Project Stars
1 Dompdf 9,920
2 PHPWord 6,845
3 Polr 4,744
4 mPDF 4,075
5 DiDOM 2,137
6 HTML to Markdown 1,619
7 psl 1,074
8 tailwindo 1,021
9 Latte 998
10 emogrifier 887
11 Menu 691
12 laravel-html 677
13 Monitorr 605
14 html5-dom-document-php 565
15 viewi 537
16 pug 376
17 KLiK-SocialMediaWebsite 286
18 html-sanitizer 215
19 orangescrum 159
20 HtmlMin 145
21 SkinSystem 131
22 gotenberg-php 125
23 Url highlight 83
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.