PHPUnit
PHPUnit is the open-source, de facto standard unit testing framework for PHP, created and maintained by Sebastian Bergmann since 2001. It serves PHP developers globally via free PHAR and Composer distribution, funded by corporate sponsorships and consulting services.
- Company typePrivate
- Founded2001
- HeadquartersSiegburg, Germany
- Headcount—
- GTM typeB2B
- OfferingSoftware
What PHPUnit does
PHPUnit is the de facto standard unit testing framework for the PHP programming language, originally created by Sebastian Bergmann in 2001 and actively maintained as an open-source project for over 23 years. The framework provides a comprehensive CLI-based testing environment for PHP, including assertions for verifying expected behavior, test doubles (stubs and mocks) for isolating code under test, code coverage analysis, data providers for parameterized tests, test dependencies, fixtures, risky test detection, and an extensible event-driven architecture. It supports both PHP 8 attributes and legacy docblock annotations for test metadata, follows Semantic Versioning with annual major releases in February and bi-monthly minor releases, and currently maintains support for versions 10 through 13 with PHPUnit 14 in development.
The underlying technology is written in PHP itself, distributed either as a self-contained PHP Archive (PHAR) executable or as a Composer package (phpunit/phpunit) via Packagist. The user base consists of individual PHP developers and software development teams worldwide who need standardized, reliable unit testing for TDD, BDD, continuous integration workflows, and code quality enforcement. Distribution is exclusively self-serve through PHAR downloads, Composer, and the public GitHub repository at github.com/sebastianbergmann/phpunit.
The business model is unconventional: PHPUnit is free software with no licensing fees, pricing tiers, or paid product. Revenue is generated entirely through (a) corporate and individual sponsorships funneled to Sebastian Bergmann via phpunit.de's sponsor program, GitHub Sponsors, Liberapay, thanks.dev, and the Tidelift enterprise maintenance platform, with ~11+ named corporate sponsors including Cloudflare, mittwald, Tideways, TYPO3, Testmo, Mailtrap, TestMu AI, thePHP.cc, VEMA, Bubble Shooter, and in2it; and (b) consulting and coaching services offered separately through phpunit.expert. Sponsorship does not confer roadmap influence. The project is independently owned and operated by its founder with no parent company, no traditional funding rounds, and no disclosed revenue.
PHPUnit firmographics
Firmographics- Name
- PHPUnit
- Legal name
- Sebastian Bergmann
- Website
- https://phpunit.de
- Company type
- Private
- Founded year
- 2001
- Operating status
- Operating
- Short description
- PHPUnit is the open-source, de facto standard unit testing framework for PHP, created and maintained by Sebastian Bergmann since 2001. It serves PHP developers globally via free PHAR and Composer distribution, funded by corporate sponsorships and consulting services.
- Ownership category
- akta.pro rank
PHPUnit industry classification
Industry- Product category
- Software Testing Frameworks
- NAICS
- Custom Computer Programming Services (541511), Computer Systems Design and Related Services (54151), Testing Laboratories and Services (54138)
- SIC
- Services-Prepackaged Software (7372), Services-Computer Programming, Data Processing, Etc. (7370)
- akta.pro primary industry
- Performance Engineering & Scalability Testing (BPAEAKAK)
- akta.pro secondary industry
- API Observability, Testing & Monitoring (BPAMAOAG)
Keywords
Where PHPUnit is headquartered
LocationHeadquarters
- HQ city
- Siegburg
- HQ country
- Germany
- HQ region
- Europe
Offices1 record
Markets served
PHPUnit business model
Business model- GTM type
- B2B
- Offering type
- Software
- Cost components
- Technology or R&D, Personnel, Infrastructure, Operations
Revenue model
- Sponsorships: Corporate and individual sponsors provide financial support to Sebastian Bergmann for maintaining PHPUnit. Sponsorship does not grant influence over the project's roadmap or priorities. Companies like Bubble Shooter, in2it, Mailtrap, Testmo, TestMu AI, Tideways, TYPO3, VEMA, Cloudflare, mittwald, and thePHP.cc sponsor the project.
- GitHub Sponsors: Individual developers can sponsor Sebastian Bergmann's work through GitHub Sponsors platform.
- Funding Platforms: PHPUnit accepts funding through Liberapay, thanks.dev, and Tidelift platforms.
- Consulting and Coaching: Sebastian Bergmann offers consulting and coaching services through phpunit.expert, a separate site that provides articles and professional services related to PHPUnit.
Go-to-market motion1 record
Distribution channels3 records
Marketing channels5 records
PHPUnit product offering
Product offeringCore offering
PHPUnit is an open-source, programmer-oriented testing framework for PHP that provides a complete environment for writing and running unit tests. It offers assertions, test doubles (stubs and mocks), code coverage analysis, data providers, fixtures, and an event-driven extension architecture, accessed via a CLI tool and installed through PHAR downloads or Composer.
Product overview
PHPUnit is a single, unified testing framework for PHP — not a platform-plus-modules architecture. The core product is the PHPUnit testing framework itself, distributed primarily as a PHP Archive (PHAR) or via Composer. The ecosystem includes: the PHPUnit framework (the main product for writing and running unit tests), PHPUnit Documentation (hosted at docs.phpunit.de for all versions), the PHAR distribution (a self-contained executable bundle), and professional services including Consulting & Coaching via phpunit.expert and a newsletter for updates. PHPUnit follows Semantic Versioning with annual major releases every February, and currently maintains support for versions 10 through 13.
Differentiator
Problem solved
Functional benefit
Products and services
- PHPUnit PHPUnit is the standard testing framework for PHP. It provides a complete testing environment for writing and executing unit tests, supporting assertions, test doubles (stubs and mocks), code coverage analysis, data providers, test dependencies, and fixtures. Users interact with PHPUnit through a command-line interface, and it can be installed via PHAR archive or Composer.
- PHPUnit Consulting & Coaching Expert consulting and coaching services for PHPUnit, offered through phpunit.expert. Provides professional support for teams using PHPUnit.
Companies that use PHPUnit
Customer profileSegments1 record
Ideal customer profiles1 record
PHPUnit technology and API
TechnologyTechnology focussed Yes
API detail
- Has API
- No
- API docs
- API detail
Core technology
AI maturity
App detail
Feature6 records
PHPUnit partnerships and signals
Strategic signalPartnerships
Four partnerships are on record, tiered core.
- Arne BlankertscoreLead developer of PHPUnit's new event system introduced in PHPUnit 10. Worked on the EU-FOSSA Cyber Security Hackathon in October 2019 to develop the event system architecture.
- Andreas MöllercoreCo-developer of PHPUnit's new event system introduced in PHPUnit 10. Contributed to the EU-FOSSA Cyber Security Hackathon project.
- Stefan PriebschcoreConsultant from thePHP.cc who participated in the EU-FOSSA Cyber Security Hackathon contributing to the event system development.
- Ewout Pieter den OudencoreContributor to the EU-FOSSA Cyber Security Hackathon project that developed PHPUnit's new event system.
Scale indicators3 records
Recent moves6 records
Expansion highlights3 records
PHPUnit competitors and assessment
Company assessmentEmerging players
- Atoum: Atoum is a PHP unit testing framework offering a simpler, more modern API than traditional PHPUnit. It targets the same PHP developer audience with an alternative approach to unit testing.
- Kahlan: Kahlan is a full-featured BDD unit testing framework for PHP with a JIT-powered matcher system. It competes for the same PHP testing workflow as PHPUnit with a focus on descriptive syntax.
Direct peers
- phpspec: phpspec is a PHP BDD-style unit testing tool focused on specification-driven development. It targets the same PHP unit testing market as PHPUnit but emphasizes a different methodology (BDD over TDD).
- Behat: Behat is a BDD framework for PHP inspired by Ruby's Cucumber, used for behavior-driven development. It serves the PHP testing market alongside PHPUnit, often as a complement for higher-level acceptance tests.
- Codeception: Codeception is a full-stack PHP testing framework supporting unit, functional, and acceptance testing. It overlaps with PHPUnit's unit testing scope while extending into browser/acceptance testing for PHP applications.
- Pest: Pest is a modern PHP testing framework built directly on top of PHPUnit by Nuno Maduro, offering an elegant syntax while leveraging PHPUnit's underlying engine. It competes directly for developer mindshare in PHP unit testing.
Broad incumbents
- JUnit: JUnit is the original Java unit testing framework that inspired PHPUnit's creation and architecture. It represents the conceptual predecessor and cross-language comparable in the testing framework category.
- pytest: pytest is the de facto standard testing framework for Python, conceptually analogous to PHPUnit in the Python ecosystem. It represents the cross-language category leader PHPUnit compares itself against architecturally.
- Jest: Jest is the dominant JavaScript/TypeScript testing framework, comparable in role to PHPUnit for the JS ecosystem. It serves as a category benchmark for developer experience and ecosystem integration.
Others
- Infection: Infection is a PHP mutation testing framework that integrates with PHPUnit as its base testing engine. It is an ecosystem tool that depends on PHPUnit and reflects the depth of PHPUnit's integration surface.
Market position
Strengths4 records
Weaknesses4 records
Competitive moat5 records
Key risks5 records
Key highlights5 records
Customer concentration
PHPUnit social profiles
Digital presencePHPUnit financial estimates
Financial estimateRevenue estimate
Valuation estimate
PHPUnit leadership team
Management profileNumber of profiles
Profiles1 record
PHPUnit funding detail
Funding detailFunding overview
Funding rounds
Investors
Funding detail is available on the Subscription and Enterprise plan.Contact sales →
PHPUnit M&A and investment
M&A and investmentM&A
Investments
M&A and investment is available on the Subscription and Enterprise plan.Contact sales →
Frequently asked questions about PHPUnit
What does PHPUnit do?
PHPUnit is an open-source, programmer-oriented testing framework for PHP that provides a complete environment for writing and running unit tests. It offers assertions, test doubles (stubs and mocks), code coverage analysis, data providers, fixtures, and an event-driven extension architecture, accessed via a CLI tool and installed through PHAR downloads or Composer.
Is PHPUnit a public or private company?
PHPUnit is a private company. It is classified as founder individual operated bootstrapped and is currently operating.
When was PHPUnit founded?
PHPUnit was founded in 2001.
Where is PHPUnit based?
PHPUnit is headquartered in Siegburg, Germany, in the Europe region.
How does PHPUnit make money?
Four revenue lines are on record. Sponsorships are the primary driver. The others are gitHub Sponsors, funding Platforms and consulting and Coaching.
Who are PHPUnit's main competitors?
Emerging players on record are Atoum and Kahlan. Direct peers are phpspec, Behat, Codeception and Pest. Broad incumbents are JUnit, pytest and Jest. Infection is listed as an others.
Does PHPUnit have an API?
No public API is recorded for PHPUnit.
What industry is PHPUnit in?
PHPUnit's product category is Software Testing Frameworks. Its primary akta.pro industry code is BPAEAKAK, Performance Engineering & Scalability Testing, with a secondary code of BPAMAOAG, API Observability, Testing & Monitoring. Its NAICS code is 541511 and its SIC code is 7372.