PHP libraries and tools

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

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
  • date-time

    Date and time library for PHP

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

  • safe8

    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

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • 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

  • Robo

    Modern task runner for PHP

    Robo: Modern Task Runner for PHP

  • Deptrac

    Keep your architecture clean.

    Deptrac: Keep your architecture clean.

  • GrumPHP

    A PHP code-quality tool

    GrumPHP: A PHP code-quality tool.

  • churn-php

    Discover files in need of refactoring.

    churn-php: Discover files in need of refactoring.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

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

  • safe-php-psalm-plugin

    vimeo/psalm plugin for thecodingmachine/safe

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

  • psalm-no-empty

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

  • psalm-strict-equality

    Psalm plugin to enforce strict equality

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

  • psalm-plugin-phpunit

    A PHPUnit plugin for Psalm

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

  • psalm-plugin-symfony

    Psalm Plugin for Symfony

    psalm/plugin-symfony: Psalm Plugin for Symfony.

  • psalm-plugin-doctrine

    Stubs to let Psalm understand Doctrine better

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

  • phpstan-rules

    :eyeglasses: Provides additional rules for phpstan/phpstan.

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

  • Psalm

    A static analysis tool for finding errors 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.

  • phpstan-disallowed-calls

    PHPStan rules to detect disallowed method & function calls, constant, namespace & superglobal usages

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

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

  • 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

  • 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

  • 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

  • populator

    Allows populate fake data to your database

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

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

  • ParaTest

    :computer: Parallel testing for PHPUnit

    Paratest: Parallel testing for PHPUnit

  • 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

  • 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

  • composer-unused

    Show unused composer dependencies by scanning your code

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

  • phpinsights

    🔰 Instant PHP quality checks from your console

    PHP Insights: Instant PHP quality checks from your console

  • composer-normalize

    :musical_note: Provides a composer plugin for normalizing composer.json.

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

  • Spout

    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

  • 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

  • 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

  • Serializer

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

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

  • local-php-security-checker

    PHP security vulnerabilities checker

    Local PHP Security Checker: PHP security vulnerabilities checker

  • captainhook

    Very flexible git hook manager for php developers

    CaptainHook: Very flexible git hook manager for php developers

  • 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

  • SaaSHub

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

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