GitDiagram
Browse

PHP project architecture examples

Interactive architecture diagrams of 221 open-source PHP repositories with a GitDiagram architecture diagram, most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.

Across the 118 most-starred PHP projects here, the median diagram has 21 components. 63% draw a data store (most often files on disk, a cache and MySQL or MariaDB), 9% have a command-line interface and 19% a web interface.

34% have a plugin or extension system and 11% draw a queue or event bus.

The files their components link to most are index.php (27), User.php (10), Controller.php (8), app.php (6) and database.php (5).

Group names that recur: “platform services” (9), “administration” (5) and “public api” (4).

In the 118 most-starred diagrams
Draws a data store63%
Has plugins or extensions34%
Has a web interface19%
Draws a queue or event bus11%
Has a command-line interface9%
Split into workspace packages4%

Repositories 1–50 of 221

  1. danielmiessler/seclists★ 73.6k

    SecLists is a security-assessment artifact repository, not a conventional application.

  2. coollabsio/coolify★ 65.7k

    Coolify is a self-hosted deployment and infrastructure-management platform.

  3. nextcloud/server★ 37.3k

    Nextcloud Server is a self-hosted platform for storing, syncing, sharing, and protecting user data, with additional apps that extend its capabilities.

  4. laravel/framework★ 35k

    Laravel is a PHP web application framework.

  5. symfony/symfony★ 31.2k

    Symfony is a PHP framework for web and console applications, alongside reusable components.

  6. filamentphp/filament★ 30k

    The README tells you that Filament is meant to “accelerate Laravel development” by providing pre-built, beautifully designed components.

  7. composer/composer★ 29.4k

    Based on our analysis of the file tree and the README, this project is the well-known Composer tool—a dependency manager for PHP.

  8. bagisto/bagisto★ 28.1k

    Bagisto is a Laravel eCommerce and marketplace platform.

  9. fzaninotto/faker★ 26.6k

    Faker is a PHP fake-data generation library. A PHP application creates a locale-aware Generator through Factory, requests formatter values, and receives generated data.

  10. monicahq/monica★ 24.4k

    Monica is a full–stack web application based on Laravel (PHP) with a rich, Vue–powered frontend.

  11. krayin/laravel-crm★ 24k

    Krayin is a modular Laravel CRM for managing customer relationships and the customer lifecycle.

  12. livewire/livewire★ 23.6k

    Livewire is a Laravel package for server-authored, dynamically updated UI components. Laravel applications consume its PHP API/components and load its browser runtime.

  13. guzzle/guzzle★ 23.5k

  14. firefly-iii/firefly-iii★ 22.8k

    Web Interface (Vue.js based, with v1 and v2 versions)

  15. phpmailer/phpmailer★ 22.3k

    PHPMailer is a PHP library for composing and sending feature-rich email.

  16. designpatternsphp/designpatternsphp★ 22.2k

    1. This repository is a PHP design-patterns catalog, not an application with one runtime domain.

  17. matomo-org/matomo★ 21.9k

    Matomo is a self-hosted analytics platform: website tracking data is collected and stored, then exposed as reports through its API and interface.

  18. seldaek/monolog★ 21.4k

    Monolog is a PSR-3 PHP logging library.

  19. wordpress/wordpress★ 21k

    Core Entry Point and Configuration: At the top-level, files like index.php, wp-config-sample.php (and the eventual wp-config.php), and license.txt represent the core entry…

  20. sebastianbergmann/phpunit★ 20k

    PHPUnit is an open-source, CLI-based testing framework for PHP (an xUnit tool).

  21. fruitcake/laravel-debugbar★ 19.3k

    Laravel Debugbar integrates PHP Debug Bar into a Laravel application.

  22. barryvdh/laravel-debugbar★ 19.1k

    Based on your provided file tree and README, this project is an open-source Laravel package called “Debugbar for Laravel”.

  23. bookstackapp/bookstack★ 19.1k

    BookStack is a documentation platform for organizing books, chapters, and pages.

  24. easychen/howto-make-more-money★ 18.7k

    This repository is a Chinese-language book about ways programmers can earn supplemental income, rather than an application.

  25. bcit-ci/codeigniter★ 18.2k

    Front Controller and Entry Point: At the very top, include the entry file (index.php) which bootstraps the entire framework.

  26. koel/koel★ 17.1k

    Frontend: The client-side application written in Vue.js (located in the “resources/assets/js” directory, along with Vue components, tests, and related configuration files).

  27. easychen/opc-methodology★ 17k

    This repository combines a Chinese-language one-person-business methodology book with a collection of agent skills.

  28. flarum/flarum★ 16.2k

    Web Server / Deployment: Represent the configuration files like .nginx.conf and public/web.config.

  29. getgrav/grav★ 15.7k

    Grav is a file-based CMS and web platform. A web request enters through the front controller, is handled by the Grav runtime and its processors, and produces a rendered response.

  30. grokability/snipe-it★ 15k

    Snipe-IT is a web-based IT asset-management system.

  31. qloapps/qloapps★ 14.4k

    QloApps is a PHP hotel reservation system and booking engine built on a PrestaShop-style platform.

  32. yiisoft/yii2★ 14.3k

  33. phpoffice/phpspreadsheet★ 13.9k

    Core API & Data Model: This layer consists of classes representing the spreadsheet’s fundamental structures—Spreadsheet, Worksheet, Cell, Row, Column, DefinedName, and so on.

  34. roots/sage★ 13.3k

    Sage is a WordPress starter theme that combines WordPress’s PHP theme lifecycle with Acorn/Laravel conventions, Blade templates, Tailwind-oriented styling, and Vite-built…

  35. mailcow/mailcow-dockerized★ 13.1k

    mailcow: dockerized is a self-hosted mail-server stack packaged as coordinated Docker Compose services.

  36. digininja/dvwa★ 12.8k

    DVWA is a deliberately insecure PHP web application built for security testing, training, and demonstration.

  37. spartnernl/laravel-excel★ 12.7k

    1. This repository is a Laravel package that wraps PhpSpreadsheet and exposes a higher-level export/import API.

  38. piotrplenik/clean-code-php★ 12.4k

    Clean Code PHP is a documentation product: it presents PHP-oriented software engineering principles for developers to apply while writing and refactoring code.

  39. slimphp/slim★ 12.2k

  40. magento/magento2★ 12.2k

    Magento Open Source is an extensible e-commerce platform.

  41. aureuserp/aureuserp★ 12k

    Aureus ERP is a modular business-management platform.

  42. leantime/leantime★ 11.7k

    Leantime is a web-based project-management application.

  43. pestphp/pest★ 11.4k

    CLI Entry Points – Represented in the “bin” folder (e.g., bin/pest and worker.php). These are the command-line executables that launch the testing process.

Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the 2026 open-source architecture report. Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.