PHPackages                             aedart/testing-laravel - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. aedart/testing-laravel

Abandoned → [aedart/athenaeum](/?search=aedart%2Fathenaeum)ArchivedLibrary[Testing &amp; Quality](/categories/testing)

aedart/testing-laravel
======================

Utilities that allows you to test Laravel dependent packages. At its core, this package is a wrapper for the Orchestral Testbench. However, you can make use of this with whatever testing framework you wish; it does not impose you to use neither Orchestral's nor Laravel's TestCase classes.

4.1.0(7y ago)126758BSD-3-ClausePHPPHP &gt;=7.1.0

Since Apr 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/aedart/testing-laravel)[ Packagist](https://packagist.org/packages/aedart/testing-laravel)[ Docs](https://github.com/aedart/testing-laravel)[ RSS](/packages/aedart-testing-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (21)Used By (8)

[![Build Status](https://camo.githubusercontent.com/0b9dec00d9d9581f998f49464031f3dc4b41b5e94d4a6fbd217fe038a4496455/68747470733a2f2f7472617669732d63692e6f72672f6165646172742f74657374696e672d6c61726176656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aedart/testing-laravel)[![Latest Stable Version](https://camo.githubusercontent.com/453bcd68fd0c3d2ecb01d9114643f7592a5967d50d57b295ea4e42049a848e06/68747470733a2f2f706f7365722e707567782e6f72672f6165646172742f74657374696e672d6c61726176656c2f762f737461626c65)](https://packagist.org/packages/aedart/testing-laravel)[![Total Downloads](https://camo.githubusercontent.com/b2e9691140f5408732dd8adfcee0e43b47fcf4b24298ec1fcdaf75dc9d3f1f23/68747470733a2f2f706f7365722e707567782e6f72672f6165646172742f74657374696e672d6c61726176656c2f646f776e6c6f616473)](https://packagist.org/packages/aedart/testing-laravel)[![Latest Unstable Version](https://camo.githubusercontent.com/0bb5d2f5bfcb2425f489d39cbb33773acc03d07729ae46edd3a5e0112ebef809/68747470733a2f2f706f7365722e707567782e6f72672f6165646172742f74657374696e672d6c61726176656c2f762f756e737461626c65)](https://packagist.org/packages/aedart/testing-laravel)[![License](https://camo.githubusercontent.com/de770125277e709c229fd937f9b788da7c47cbc8b95a4faa51c124a9b22566d3/68747470733a2f2f706f7365722e707567782e6f72672f6165646172742f74657374696e672d6c61726176656c2f6c6963656e7365)](https://packagist.org/packages/aedart/testing-laravel)

Deprecated - Testing-Laravel
============================

[](#deprecated---testing-laravel)

Package has been replaced by [aedart/athenaeum](https://github.com/aedart/athenaeum)

Utilities that allows you to test Laravel dependent packages. At its core, this package is a wrapper for the Orchestral Testbench. However, you can make use of this with whatever testing framework you wish; it does not force you to use neither Orchestral's nor Laravel's TestCase classes.

Contents
========

[](#contents)

- [When to use this](#when-to-use-this)
- [How to install](#how-to-install)
    - [For Orchestral Testbench version 3.6.x / Laravel 5.6.x](#for-orchestral-testbench-version-36x---laravel-56x)
    - [For Orchestral Testbench version 3.5.x / Laravel 5.5.x](#for-orchestral-testbench-version-35x---laravel-55x)
    - [For Orchestral Testbench version 3.4.x / Laravel 5.4.x](#for-orchestral-testbench-version-34x---laravel-54x)
    - [For Orchestral Testbench version 3.3.x / Laravel 5.3.x](#for-orchestral-testbench-version-33x---laravel-53x)
    - [For Orchestral Testbench version 3.2.x / Laravel 5.2.x](#for-orchestral-testbench-version-32x---laravel-52x)
    - [For Laravel 5.1 and previous versions](#for-laravel-51-and-previous-versions)
- [Quick start](#quick-start)
    - [Assumptions / Prerequisite](#assumptions---prerequisite)
    - [Helper](#helper)
- [Contribution](#contribution)
    - [Bug Report](#bug-report)
    - [Fork, code and send pull-request](#fork--code-and-send-pull-request)
- [Acknowledgement](#acknowledgement)
- [Versioning](#versioning)
- [License](#license)

When to use this
----------------

[](#when-to-use-this)

When you wish to test Laravel specific components and packages

How to install
--------------

[](#how-to-install)

### For Orchestral Testbench version 3.6.x / Laravel 5.6.x

[](#for-orchestral-testbench-version-36x--laravel-56x)

```
composer require aedart/testing-laravel 4.*
```

### For Orchestral Testbench version 3.5.x / Laravel 5.5.x

[](#for-orchestral-testbench-version-35x--laravel-55x)

```
composer require aedart/testing-laravel 3.*
```

**Note:** This package requires php version 7.1 or higher

### For Orchestral Testbench version 3.4.x / Laravel 5.4.x

[](#for-orchestral-testbench-version-34x--laravel-54x)

```
composer require aedart/testing-laravel 2.*
```

### For Orchestral Testbench version 3.3.x / Laravel 5.3.x

[](#for-orchestral-testbench-version-33x--laravel-53x)

```
composer require aedart/testing-laravel 1.8.*
```

### For Orchestral Testbench version 3.2.x / Laravel 5.2.x

[](#for-orchestral-testbench-version-32x--laravel-52x)

```
composer require aedart/testing-laravel 1.7.*
```

### For Laravel 5.1 and previous versions

[](#for-laravel-51-and-previous-versions)

Not supported

---

This package uses [composer](https://getcomposer.org/). If you do not know what that is or how it works, I recommend that you read a little about, before attempting to use this package.

Quick start
-----------

[](#quick-start)

### Assumptions / Prerequisite

[](#assumptions--prerequisite)

You have some experience using [Laravel](http://laravel.com/)

You are using some kind of PHP unit test framework, e.g. [PHPUnit](https://phpunit.de/), [Codeception](http://codeception.com/), ...etc

### Helper

[](#helper)

In the below stated example, a codeception's unit test (extends PHP Unit) is being used

```
