PHPackages                             drbiko/codeception - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. drbiko/codeception

ActiveLibrary

drbiko/codeception
==================

BDD-style testing framework

3.1.1(6y ago)05MITPHPPHP &gt;=5.6.0 &lt;8.0

Since May 28Pushed 6y agoCompare

[ Source](https://github.com/drbiko/Codeception)[ Packagist](https://packagist.org/packages/drbiko/codeception)[ Docs](http://codeception.com/)[ RSS](/packages/drbiko-codeception/feed)WikiDiscussions 3.1 Synced 2mo ago

READMEChangelogDependencies (26)Versions (157)Used By (0)

Codeception
===========

[](#codeception)

[![Latest Stable](https://camo.githubusercontent.com/84e9346d45999af2f642976cfc9a2c07aa37e0f5da367dafaa249aa375aa5e8f/68747470733a2f2f706f7365722e707567782e6f72672f436f646563657074696f6e2f436f646563657074696f6e2f76657273696f6e2e706e67)](https://packagist.org/packages/Codeception/Codeception)[![Total Downloads](https://camo.githubusercontent.com/0bcc33ff92b197fba641768f2fdec38de15dcdc7cb006a5a3b0ae58973b8f88d/68747470733a2f2f706f7365722e707567782e6f72672f636f646563657074696f6e2f636f646563657074696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/codeception/codeception)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2cbdbacc464c87decb958634d7e35de90def84dbc407180804adc2c25daaee3b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f436f646563657074696f6e2f436f646563657074696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d322e34)](https://scrutinizer-ci.com/g/Codeception/Codeception/?branch=2.4)

**Modern PHP Testing for everyone**

Codeception is a modern full-stack testing framework for PHP. Inspired by BDD, it provides an absolutely new way of writing acceptance, functional and even unit tests. Powered by PHPUnit.

GeneralWindowsWebdriver[![Build Status](https://camo.githubusercontent.com/1664189e49e21012c1e6c07b0857d39197dc8dfa9a6d8a5b7a5a1a826009dc99/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f436f646563657074696f6e2f436f646563657074696f6e2e706e673f6272616e63683d332e30)](http://travis-ci.org/Codeception/Codeception)[![Build status](https://camo.githubusercontent.com/b53da2e71a334d9f7b30ddb6057196d6ac2d37105db908ce920447a0e117e923/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6e746a6a3969347936376431726237793f7376673d74727565)](https://ci.appveyor.com/project/DavertMik/codeception/branch/3.0)[![Build Status](https://camo.githubusercontent.com/a89a8152d54807ca173369f5b0e7a2632d0d547adc7001476f98b4cadc8ed272/68747470733a2f2f73656d6170686f726563692e636f6d2f6170692f76312f636f646563657074696f6e2f636f646563657074696f6e2f6272616e636865732f332d302f736869656c64735f62616467652e737667)](https://semaphoreci.com/codeception/codeception)#### Contributions

[](#contributions)

At Codeception we are glad to receive contributions from the community. If you want to send additions or fixes to the code or the documentation please check the [Contributing guide](https://github.com/Codeception/Codeception/blob/2.4/CONTRIBUTING.md).

### At a Glance

[](#at-a-glance)

Describe what you test and how you test it. Use PHP to write descriptions faster.

Run tests and see what actions were taken and what results were seen.

#### Sample test

[](#sample-test)

```
$I->amOnPage('/');
$I->click('Pages');
$I->click('New');
$I->see('New Page');
$I->submitForm('form#new_page', ['title' => 'Movie Review']);
$I->see('page created'); // notice generated
$I->see('Movie Review','h1'); // head of page of is our title
$I->seeInCurrentUrl('pages/movie-review'); // slug is generated
$I->seeInDatabase('pages', ['title' => 'Movie Review']); // data is stored in database
```

For unit testing you can stay on classic PHPUnit tests, as Codeception can run them too.

Installation
------------

[](#installation)

### Composer

[](#composer)

```
php composer.phar require "codeception/codeception"

```

### Phar

[](#phar)

Download [codecept.phar](http://codeception.com/codecept.phar)

Copy it into your project.

You can also make Codeception an executable and it put it into your `$PATH`, for instance:

```
wget http://codeception.com/codecept.phar

chmod +x codecept.phar

sudo mv codecept.phar /usr/local/bin/codecept

```

You can then run Codecept in the command line using: `codecept bootstrap`, `codecept run`, etc

Run CLI utility:

```
php codecept.phar

```

See also [Installation](http://codeception.com/install) | **[QuickStart](http://codeception.com/quickstart)**

Getting Started
---------------

[](#getting-started)

After you successfully installed Codeception, run this command:

```
codecept bootstrap

```

This will create a default directory structure and default test suites.

Documentation
-------------

[](#documentation)

[Documentation](http://codeception.com/docs/01-Introduction)

Documentation is included within the project. Look for it in the ['docs' directory](https://github.com/Codeception/Codeception/tree/master/docs).

License
-------

[](#license)

MIT

(c) [Codeception Team](http://codeception.com/credits)2011-2019

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 61.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Recently: every ~8 days

Total

149

Last Release

2427d ago

Major Versions

1.8.6 → 2.0.02014-06-06

1.8.7 → 2.0.22014-07-08

1.8.x-dev → 2.2.72016-12-05

2.6.x-dev → 3.0.02019-04-24

3.1.x-dev → 4.0.x-dev2019-09-21

PHP version history (6 changes)1.0.9PHP &gt;=5.3.2

1.5.0PHP &gt;=5.3.3

2.0.0-alphaPHP &gt;=5.4.0

1.8.4PHP &gt;=5.3.19

2.1.7PHP &gt;=5.4.0 &lt;8.0

2.4.2PHP &gt;=5.6.0 &lt;8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48100596?v=4)[Biko Allen](/maintainers/drbiko)[@drbiko](https://github.com/drbiko)

---

Top Contributors

[![DavertMik](https://avatars.githubusercontent.com/u/220264?v=4)](https://github.com/DavertMik "DavertMik (2862 commits)")[![Naktibalda](https://avatars.githubusercontent.com/u/395992?v=4)](https://github.com/Naktibalda "Naktibalda (870 commits)")[![janhenkgerritsen](https://avatars.githubusercontent.com/u/1123080?v=4)](https://github.com/janhenkgerritsen "janhenkgerritsen (202 commits)")[![tiger-seo](https://avatars.githubusercontent.com/u/398720?v=4)](https://github.com/tiger-seo "tiger-seo (188 commits)")[![sergeyklay](https://avatars.githubusercontent.com/u/1256298?v=4)](https://github.com/sergeyklay "sergeyklay (77 commits)")[![samdark](https://avatars.githubusercontent.com/u/47294?v=4)](https://github.com/samdark "samdark (66 commits)")[![zbateson](https://avatars.githubusercontent.com/u/8356974?v=4)](https://github.com/zbateson "zbateson (61 commits)")[![raistlin](https://avatars.githubusercontent.com/u/76889?v=4)](https://github.com/raistlin "raistlin (29 commits)")[![SamMousa](https://avatars.githubusercontent.com/u/547021?v=4)](https://github.com/SamMousa "SamMousa (28 commits)")[![eXorus](https://avatars.githubusercontent.com/u/1255561?v=4)](https://github.com/eXorus "eXorus (25 commits)")[![gimler](https://avatars.githubusercontent.com/u/200904?v=4)](https://github.com/gimler "gimler (19 commits)")[![ThomasLandauer](https://avatars.githubusercontent.com/u/1054469?v=4)](https://github.com/ThomasLandauer "ThomasLandauer (19 commits)")[![akovardin](https://avatars.githubusercontent.com/u/365223?v=4)](https://github.com/akovardin "akovardin (16 commits)")[![piccagliani](https://avatars.githubusercontent.com/u/3021304?v=4)](https://github.com/piccagliani "piccagliani (13 commits)")[![Ragazzo](https://avatars.githubusercontent.com/u/1748844?v=4)](https://github.com/Ragazzo "Ragazzo (13 commits)")[![korotovsky](https://avatars.githubusercontent.com/u/104727?v=4)](https://github.com/korotovsky "korotovsky (12 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (12 commits)")[![TrustNik](https://avatars.githubusercontent.com/u/1707938?v=4)](https://github.com/TrustNik "TrustNik (12 commits)")[![alexkunin](https://avatars.githubusercontent.com/u/184682?v=4)](https://github.com/alexkunin "alexkunin (12 commits)")[![sp0tteh](https://avatars.githubusercontent.com/u/2469231?v=4)](https://github.com/sp0tteh "sp0tteh (11 commits)")

---

Tags

unit testingfunctional-testingacceptance-testingBDDTDD

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/drbiko-codeception/health.svg)

```
[![Health](https://phpackages.com/badges/drbiko-codeception/health.svg)](https://phpackages.com/packages/drbiko-codeception)
```

###  Alternatives

[codeception/codeception

All-in-one PHP Testing Framework

4.9k86.2M2.9k](/packages/codeception-codeception)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
