# Codeception

> Full-stack testing framework for PHP

Source: https://talira.ai/catalog/codeception-c3m740wg
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework
- Categories: [developer tools / testing / frameworks](https://talira.ai/categories/developer-tools/testing/frameworks)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Codeception](https://talira.ai/orgs/codeception.md)

Codeception is an MIT-licensed testing framework for PHP web applications that covers unit, functional, acceptance and API tests in one tool. Acceptance tests are written as a user's actions and run in real browsers through Selenium WebDriver or an emulated browser over HTTP (PhpBrowser); functional tests run inside Symfony, Laravel, Yii, Laminas or Phalcon without a web server; REST and SOAP modules check JSON and XML responses, and database modules load and compare data from MySQL, PostgreSQL, MongoDB and Redis. It's built on top of [PHPUnit](https://talira.ai/catalog/phpunit-bg1qx6g0.md) and runs PHPUnit tests too. It's installed with Composer as codeception/codeception, with modules as separate packages.

## Links

- Website: https://codeception.com/
- GitHub: https://github.com/Codeception/Codeception
- Docs: https://codeception.com/docs/Introduction

## Problems it solves

- write browser acceptance tests for a PHP web app
- test a Laravel or Symfony app's pages without starting a web server
- one PHP testing tool for unit, functional and end-to-end tests

## Features

- acceptance tests in real browsers through Selenium WebDriver
- emulated browser testing with PhpBrowser
- functional tests inside Symfony, Laravel, Yii, Laminas and Phalcon
- REST and SOAP API testing
- database fixtures and snapshots
- BDD with Gherkin
- code coverage and parallel execution

## Trust

Overall: 0.60 out of 1.
Signals: maintenance 0.77, adoption 0.74, momentum 0.44, community 1.00, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 25 commits in the last 90 days
- latest release 5.3.7 57 days ago
- 4.9k GitHub stars
- 856 contributors
- accepts sponsorship (Open Collective)
- has a company behind it

## Related

- Based on [PHPUnit](https://talira.ai/catalog/phpunit-bg1qx6g0.md)

## Alternatives

- [Behat](https://talira.ai/catalog/behat-ywjzeqm5.md): Behaviour-driven development for PHP
- [PHPUnit](https://talira.ai/catalog/phpunit-bg1qx6g0.md): The testing framework for PHP
- [SymfonyExtension (Behat)](https://talira.ai/catalog/symfonyextension-behat-214drr96.md): Behat extension that runs your contexts as Symfony services and tests the app without a server
- [Pest](https://talira.ai/catalog/pest-prkx0461.md): The elegant PHP testing framework

## Sources

[^1]: https://github.com/Codeception/Codeception/blob/main/LICENSE (checked 27 Nov 2026)
