PHP libraries and tools

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. date-time

    Date and time library for PHP

    brick/date-time: Date and time library for PHP

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. safe8

    Discontinued All PHP functions, rewritten to throw exceptions instead of returning false, now for php8

    thecodingmachine/safe: All PHP functions, rewritten to throw exceptions instead of returning false, now for php8

  4. ISO-codes

    PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries

    ronanguilloux/isocodes: PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries

  5. Robo

    Modern task runner for PHP

    Robo: Modern Task Runner for PHP

  6. Deptrac

    Discontinued Keep your architecture clean.

    Deptrac: Keep your architecture clean.

  7. GrumPHP

    A PHP code-quality tool

    GrumPHP: A PHP code-quality tool.

  8. churn-php

    Discover files in need of refactoring.

    churn-php: Discover files in need of refactoring.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. psalm-plugin-stringf

    Psalm plugin to provide more details for `sprintf`, `printf`, `sscanf` and `fscanf` functions.

    boesing/psalm-plugin-stringf: Psalm plugin to provide more details for sprintf, printf, sscanf and fscanf functions.

  11. safe-php-psalm-plugin

    vimeo/psalm plugin for thecodingmachine/safe

    hectorj/safe-php-psalm-plugin: vimeo/psalm plugin for thecodingmachine/safe.

  12. psalm-no-empty

    marartner/psalm-no-empty: Psalm plugin to detect usage of empty().

  13. psalm-strict-equality

    Psalm plugin to enforce strict equality

    marartner/psalm-strict-equality: Psalm plugin to enforce strict equality.

  14. psalm-plugin-phpunit

    A PHPUnit plugin for Psalm

    psalm/plugin-phpunit: A PHPUnit plugin for Psalm.

  15. psalm-plugin-symfony

    Psalm Plugin for Symfony

    psalm/plugin-symfony: Psalm Plugin for Symfony.

  16. psalm-plugin-doctrine

    Stubs to let Psalm understand Doctrine better

    weirdan/doctrine-psalm-plugin: Stubs to let Psalm understand Doctrine better.

  17. phpstan-rules

    👓 Provides a composer package with rules for phpstan/phpstan.

    ergebnis/phpstan-rules: Provides additional rules for phpstan/phpstan.

  18. Psalm

    A PHP static analysis tool for finding errors and security vulnerabilities in PHP applications

    Psalm: A static analysis tool for finding errors in PHP applications. Plugins: boesing/psalm-plugin-stringf: Psalm plugin to provide more details for sprintf, printf, sscanf and fscanf functions. hectorj/safe-php-psalm-plugin: vimeo/psalm plugin for thecodingmachine/safe. marartner/psalm-no-empty: Psalm plugin to detect usage of empty(). marartner/psalm-strict-equality: Psalm plugin to enforce strict equality. psalm/plugin-phpunit: A PHPUnit plugin for Psalm. psalm/plugin-symfony: Psalm Plugin for Symfony. weirdan/doctrine-psalm-plugin: Stubs to let Psalm understand Doctrine better.

  19. phpstan-disallowed-calls

    PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.

    spaze/phpstan-disallowed-calls: PHPStan rules to detect disallowed calls and constant & namespace usages

  20. no-floaters

    :mag_right: static analysis rules to prevent IEEE-754 floating point errors

    roave/no-floaters: static analysis rules to prevent IEEE-754 floating point errors.

  21. infection-static-analysis-plugin

    :white_check_mark: :dragon_face: Static analysis on top of mutation testing - prevents escaped mutants from being invalid according to static analysis

    roave/infection-static-analysis-plugin: Static analysis on top of mutation testing - prevents escaped mutants from being invalid according to static analysis

  22. captainhook-infection

    Captain Hook Plugin to run InfectionPHP only against the changed files of a commit

    bitexpert/captainhook-infection: Captain Hook Plugin to run InfectionPHP only against the changed files of a commit

  23. no-leaks

    :potable_water: PHPUnit Plugin for detecting Memory Leaks in code and tests

    roave/no-leaks: PHPUnit Plugin for detecting Memory Leaks in code and tests

  24. populator

    Allows populate fake data to your database

    lulco/populator: Allows populate fake data to your database.

  25. openapi-psr7-validator

    It validates PSR-7 messages (HTTP request/response) against OpenAPI specifications

    OpenAPI PSR-7 Message (HTTP Request/Response) Validator: It validates PSR-7 messages (HTTP request/response) against OpenAPI specifications.

  26. ParaTest

    :computer: Parallel testing for PHPUnit

    Paratest: Parallel testing for PHPUnit

  27. PHPStan

    PHP Static Analysis Tool - discover bugs in your code without running it!

    PHPStan: PHP Static Analysis Tool - discover bugs in your code without running it!. Plugins: ergebnis/phpstan-rules: Provides additional rules for phpstan/phpstan. spaze/phpstan-disallowed-calls: PHPStan rules to detect disallowed calls and constant & namespace usages roave/no-floaters: static analysis rules to prevent IEEE-754 floating point errors. More extensions

  28. ComposerRequireChecker

    A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies

    ComposerRequireChecker: A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies

  29. composer-unused

    Show unused composer dependencies by scanning your code

    composer-unused: Show unused composer dependencies by scanning your code

  30. phpinsights

    🔰 Instant PHP quality checks from your console

    PHP Insights: Instant PHP quality checks from your console

  31. composer-normalize

    🎵 Provides a composer plugin for normalizing composer.json.

    composer-normalize: Provides a composer plugin for normalizing composer.json.

  32. Spout

    Discontinued Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

    box/spout: Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  33. SecurityAdvisories

    :closed_lock_with_key: Security advisories as a simple composer exclusion list, updated daily

    roave/security-advisories: Security advisories as a simple composer exclusion list, updated daily

  34. BackwardCompatibilityCheck

    :ab: Tool to compare two revisions of a class API to check for BC breaks

    roave/backward-compatibility-check: Tool to compare two revisions of a class API to check for BC breaks

  35. Serializer

    Library for (de-)serializing data of any complexity (supports JSON, and XML) (by schmittjoh)

    JMS Serializer: This library allows you to (de-)serialize data of any complexity. Currently, it supports XML and JSON.

  36. local-php-security-checker

    Discontinued PHP security vulnerabilities checker

    Local PHP Security Checker: PHP security vulnerabilities checker

  37. captainhook

    CaptainHook is a very flexible git hook manager for software developers that makes sharing git hooks with your team a breeze.

    CaptainHook: Very flexible git hook manager for php developers

  38. Infection

    PHP Mutation Testing library

    Infection: PHP Mutation Testing library. Plugins: roave/infection-static-analysis-plugin: Static analysis on top of mutation testing - prevents escaped mutants from being invalid according to static analysis bitexpert/captainhook-infection: Captain Hook Plugin to run InfectionPHP only against the changed files of a commit

  39. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Microservices aren't the problem. Incompetent people are

    4 projects | news.ycombinator.com | 9 Nov 2023
  • Enforce architecture rules with Deptrac

    4 projects | dev.to | 31 Oct 2023
  • PHP libraries and tools

    47 projects | dev.to | 18 Oct 2023
  • PHPStan 1.9.0 With PHPDoc Asserts, List Type, and More!

    2 projects | /r/PHP | 4 Nov 2022
  • Insights from the PHP Foundation Executive Director

    3 projects | dev.to | 14 Apr 2025