User Tools

Site Tools


php_tools_components

This is an old revision of the document!


PHP Tools & Resources

A curated reference of PHP tools, libraries, and self-contained applications worth knowing. Updated over time as good things surface.

The PHP advantage in 2026: Runs on shared hosting, no Docker required, no root access needed. A $5/month cPanel host can run most of these. That's still a superpower.

“Don't forget PHP” — it runs everywhere, needs nothing, and often outlasts the
framework of the week.

php-fts

  • What it does: Self-contained full-text search engine in pure PHP. No extensions,

no external services, no dependencies — just files.

  • Algorithm: BM25 + IDF scoring (same as Lucene/Elasticsearch), trigram indexing

with O(1) lookup, field boosting, AND/OR filters.

  • Sweet spot: Shared hosting, small VPS, hundreds to tens of thousands of documents.

Searches 10k docs in ~3–5ms median on shared Linux hosting.


File Management & Viewers

Tiny File Manager

rename, delete, edit, zip/unzip. Drop it anywhere and it works.

  • Sweet spot: Quick server-side file access without FTP or SSH.

h5ai

  • What it does: Modern HTTP web server index for Apache/nginx. Beautiful directory

listings with thumbnails, search, tree view.

  • Sweet spot: Turning a folder into a browsable, shareable file index.

FileGator

  • What it does: Self-hosted multi-user file manager with a clean UI. Supports

local storage, FTP, S3. More full-featured than Tiny File Manager.

  • Sweet spot: When you need user accounts and access control on file storage.

Image & Photo Tools

Piwigo

  • Site: piwigo.org
  • What it does: Full-featured self-hosted photo gallery. Albums, tags, users,

plugins, themes. Mature project, active community.

  • Sweet spot: Family photos, club/organization galleries, anything needing

real user management.

Lychee

Supports albums, sharing, EXIF data display.

  • Sweet spot: Personal portfolio or photo sharing, cleaner UI than Piwigo.

Chevereto (Free)

  • What it does: Image hosting platform. The free/community edition is capable.

Upload, albums, user accounts.

  • Note: Paid version has more features. Free edition still useful for self-hosting.

Intervention Image

  • What it does: PHP image manipulation library. Resize, crop, watermark, convert

formats, adjust colors — clean fluent API wrapping GD and Imagick.

  • Install: composer require intervention/image
  • Sweet spot: Any PHP project needing image processing without writing raw GD code.

(Placeholder) Thumbnailers & On-the-fly Resizers

  • Tools like Glide (PHP), Thumbor (Python, but worth knowing), TimThumb (legacy).
  • To be expanded.

CMS & Flat-File Publishing

Grav

  • What it does: Flat-file CMS. No database. Markdown content, Twig templates,

strong plugin ecosystem. Fast and portable.

  • Sweet spot: Sites where you want Git-friendly content and zero DB overhead.

Kirby

  • What it does: File-based CMS with a polished admin panel. Not free for

commercial use but highly regarded.

  • Sweet spot: Client sites where you want a clean editing experience without WordPress.

Pico CMS

  • What it does: Stupidly simple flat-file CMS. Drop Markdown files in a folder,

get a website. Minimal, no admin panel.

  • Sweet spot: Personal sites, documentation, anything where simplicity wins.

DokuWiki

  • What it does: File-based wiki — no database required. Stores pages as plain

text files. Strong plugin ecosystem, access control, revision history.

  • Why it belongs here: A model example of PHP's “runs anywhere” strength.

Lightweight, portable, actively maintained for 20+ years.

  • Sweet spot: Documentation, personal wikis, intranets, team notes.

WordPress

  • Note: Listed for completeness. The ecosystem is massive and PHP-native.

For simple sites, consider the flat-file options above first.


Personal Productivity & Knowledge

Shaarli

  • What it does: Single-user self-hosted bookmarking tool. Tag, search, share links.

No-database option available. Very Unix-philosophy.

  • Sweet spot: Personal del.icio.us replacement. Own your bookmarks.

FreshRSS

  • What it does: Self-hosted RSS/Atom feed aggregator. Multi-user, mobile-friendly,

supports fever API (compatible with many RSS reader apps).

  • Sweet spot: Replacing Google Reader, Feedly, etc. with something you control.

PrivateBin

  • What it does: Self-hosted pastebin where the server has zero knowledge of

content. Encrypted client-side. Expiry options.

  • Sweet spot: Sharing sensitive snippets or notes without trusting a third party.

Wallabag

  • What it does: Self-hosted read-it-later app. Save articles, strip to reading

view, sync to e-readers.

  • Sweet spot: Pocket/Instapaper replacement on your own server.

(Placeholder) Note-taking & Personal Wikis

  • Beyond DokuWiki: Outline, Wiki.js (Node-based but worth knowing),

Trilium Notes, Joplin Server.

  • To be expanded — focus on PHP-native options.

YOURLS

  • Site: yourls.org
  • What it does: Your Own URL Shortener. Self-hosted, plugin system, click

tracking, API. The PHP gold standard for this.

  • Sweet spot: Branded short links, tracking, internal redirects.

Forms & Mail

PHPMailer

  • What it does: The standard PHP email library. SMTP with auth, HTML email,

attachments, DKIM signing. Replaces PHP's unreliable mail().

  • Install: composer require phpmailer/phpmailer
  • Sweet spot: Any PHP project that sends email. Basically mandatory.

Respect/Validation

  • What it does: Fluent PHP validation library. Email, URL, CNPJ, custom rules,

chained validators, good error messages.

  • Install: composer require respect/validation
  • Sweet spot: Form and API input validation without a full framework.

(Placeholder) Form Builders & Self-Hosted Form Apps

  • Mautic (heavy, marketing-focused), Typebot, Formbricks.
  • PHP-native lightweight form processors.
  • To be expanded.

Routing & HTTP

FastRoute

  • What it does: Fast request router for PHP. Regex-based, very low overhead.

Used internally by many frameworks.

  • Install: composer require nikic/fast-route
  • Sweet spot: Rolling your own micro-framework or adding routing to a plain PHP app.

Slim Framework

  • What it does: Micro-framework for PHP. Routing, middleware, PSR-7 request/response.

Much lighter than Laravel/Symfony.

  • Sweet spot: REST APIs and small apps that don't need a full framework.

Symfony HttpClient

streaming, no full Symfony install needed.

  • Install: composer require symfony/http-client

Guzzle

  • What it does: HTTP client library. The longtime standard. Async requests,

middleware, PSR-18 compatible.

  • Install: composer require guzzlehttp/guzzle
  • Note: For new projects, consider Symfony HttpClient — lighter dependency tree.

Templating

Twig

  • What it does: The dominant PHP template engine. Sandboxed, extensible, clean

syntax. Used by Symfony, Drupal, Grav, and many others.

  • Install: composer require twig/twig

Plates

  • What it does: Native PHP template engine — no new syntax to learn. Layouts,

inheritance, escaping. Feels like PHP, not a DSL.

  • Sweet spot: When you want templates without learning Twig syntax.

Latte

  • What it does: Templating engine from the Nette framework. Strong XSS protection

by design, context-aware escaping.

  • Sweet spot: Security-conscious templating with minimal overhead.

Database & ORM

Doctrine DBAL

  • What it does: Database abstraction layer. Query builder, schema management,

multiple driver support. Without the full ORM weight.

  • Install: composer require doctrine/dbal

Medoo

  • Site: medoo.in
  • What it does: Lightweight PHP database framework. Single file, simple API,

supports MySQL, PostgreSQL, SQLite, and more.

  • Sweet spot: Small projects that want convenience without a heavy ORM.

RedBeanPHP

  • What it does: Zero-config ORM. Auto-creates and modifies tables as you go

during development. Freeze mode for production.

  • Sweet spot: Rapid prototyping where you don't want to write schema first.

(Placeholder) SQLite in PHP

  • PHP's built-in SQLite support is underused. Worth a dedicated section on

patterns, tooling, and when SQLite beats MySQL for PHP apps.

  • To be expanded.

CLI & Task Running

Symfony Console (standalone)

progress bars, tables. Standalone Symfony component.

  • Install: composer require symfony/console
  • Sweet spot: Any PHP CLI tool or cron job that needs more than echo.

(Placeholder) Task Schedulers & Job Queues

  • Crunz (cron scheduler in PHP), PHP-Resque, Symfony Messenger.
  • To be expanded.

Developer Tools

PHPStan

  • What it does: Static analysis for PHP. Finds bugs without running the code.

Configurable strictness levels.

  • Install: composer require –dev phpstan/phpstan

Psalm

  • Site: psalm.dev
  • What it does: Alternative static analysis tool. Strong type inference,

security analysis, taint tracking.

  • Install: composer require –dev vimeo/psalm

PHP CS Fixer

  • What it does: Automatically fixes PHP coding standards. PSR-1, PSR-2, PSR-12,

and custom rules.

  • Install: composer require –dev friendsofphp/php-cs-fixer

PHPUnit

  • Site: phpunit.de
  • What it does: The standard PHP testing framework. Unit and integration tests,

mocking, coverage reports.

  • Install: composer require –dev phpunit/phpunit

Pest

  • What it does: Testing framework built on PHPUnit with a friendlier API.

Fluent expectations, cleaner syntax.

  • Install: composer require –dev pestphp/pest
  • Sweet spot: If PHPUnit feels verbose, Pest is the modern alternative.

Clockwork

log viewer, request data. Browser extension + PHP library.

  • Install: composer require –dev itsgoingd/clockwork
  • Sweet spot: Debugging and profiling without Xdebug complexity.

Xdebug

  • Site: xdebug.org
  • What it does: PHP debugger and profiler. Step debugging, stack traces,

code coverage. Integrates with VS Code, PhpStorm.

  • Note: PHP extension, not Composer — install via pecl or your system package manager.

Monitoring & Status

Cachet

  • What it does: Self-hosted status page system. Components, incidents, metrics,

subscriber notifications.

  • Sweet spot: Public status page for your own services.

(Placeholder) Uptime Monitoring

  • Uptime Kuma (Node-based but popular), PHP-based alternatives.
  • To be expanded.

(Placeholder) Logging & Error Tracking

  • Monolog (the PHP logging standard), Sentry (has PHP SDK), self-hosted

error trackers like Flare.

  • To be expanded.

Self-Hosted Apps (Misc)

Nextcloud

  • What it does: Self-hosted cloud platform. Files, calendar, contacts, notes,

video calls, and a large app ecosystem.

  • Note: Heavy but comprehensive. The PHP app ecosystem is genuinely impressive.

Kanboard

  • What it does: Self-hosted Kanban board. Projects, tasks, swimlanes, automation

rules, time tracking. No-frills, no database required (SQLite default).

  • Sweet spot: Trello replacement on your own server.

Snipe-IT

  • What it does: Open source IT asset management. Track hardware, licenses,

accessories. Laravel-based.

  • Sweet spot: Small teams needing real asset tracking without enterprise pricing.

Invoice Ninja

  • What it does: Self-hosted invoicing, quotes, time tracking, expenses. Full

client portal. Laravel-based.

  • Sweet spot: Freelancers and small agencies who want to own their billing data.

(Placeholder) Chat & Communication

  • PHP is not ideal for realtime, but worth noting options like Rocket.Chat

(not PHP), and what PHP can/can't do here with WebSockets.

  • To be expanded.

(Placeholder) Pastebin & Code Sharing

  • PrivateBin (listed above), Hastebin, Stikked.
  • To be expanded.

Notes & Philosophy

  • Prefer zero-dependency or single-file tools where possible — they survive

longer and deploy anywhere.

  • Shared hosting compatibility is a feature worth calling out explicitly. If a

tool requires Docker or root, note it.

  • “No database” is an architectural choice, not just a convenience. File-based

tools are portable, backup-friendly, and Git-compatible.

  • Composer is fine but be aware of dependency trees. A tool that pulls in

half of Symfony for one feature is a different beast than a focused library.

  • Ask a follow-up question on any placeholder category to get it fleshed out

in DokuWiki format, ready to paste in.


Resources & Further Reading

php_tools_components.1778216370.txt.gz · Last modified: by smickster

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki