PHPackages                             imanghafoori/laravel-makesure - 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. imanghafoori/laravel-makesure

ActiveLibrary[Testing &amp; Quality](/categories/testing)

imanghafoori/laravel-makesure
=============================

A Laravel package to help you write expressive tests

v1.1.2(2y ago)212.7k3[1 PRs](https://github.com/imanghafoori1/laravel-makesure/pulls)3MITPHPPHP &gt;=7.0.0

Since Dec 23Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (4)Versions (6)Used By (3)

Laravel MakeSure
================

[](#laravel-makesure)

Easier tests for laravel

[![StyleCI](https://camo.githubusercontent.com/d7a9cebe32606b52ed6bca4fd47987e8880a375bc0186f5c64ab4f9336ed9a3a/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3136323834313032372f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/162841027)[![Build Status](https://camo.githubusercontent.com/7ae1ec7e4d06dd5e3e2dd575dd5c05cdc4648337c2cfe0475fa5c9c4aa79f8a5/68747470733a2f2f7472617669732d63692e6f72672f696d616e676861666f6f7269312f6c61726176656c2d6d616b65737572652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/imanghafoori1/laravel-makesure)[![Quality Score](https://camo.githubusercontent.com/8e9bcaaa9c7dceaeb1a6084adcfab98989bfd3b9de5d3c3983b73089ddadd7eb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f696d616e676861666f6f7269312f6c61726176656c2d6d616b65737572652e7376673f7374796c653d726f756e642d737175617265)](https://scrutinizer-ci.com/g/imanghafoori1/laravel-makesure)

This package tries to give you a more readable syntax to write

### Installation

[](#installation)

```

composer require imanghafoori/laravel-makesure --dev

```

### Usage

[](#usage)

You can use it like this :

```
  MakeSure::about($this)->
      ->sendingGetRequest('some-url')
      ->isRespondedWith()
      ->statusCode(402);

// Instead of writing this :

$this
    ->get('some-url')
    ->assertStatus(402);
```

You should start of with the `MakeSure` alias or the `Imanghafoori\MakeSure\Facades\MakeSure` Facade class like this:

```

MakeSure::about($this)->...

```

Note that for technical reasons you should always pass $this into the `about` method.

then you have access to all of these methods:

```

sendingPostRequest

sendingJsonPostRequest

sendingDeleteRequest

sendingJsonDeleteRequest

sendingPutRequest

sendingJsonPutRequest

sendingPatchRequest

sendingJsonPatchRequest

sendingGetRequest

sendingJsonGetRequest

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.7% 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 ~605 days

Total

4

Last Release

883d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6961695?v=4)[Iman](/maintainers/imanghafoori1)[@imanghafoori1](https://github.com/imanghafoori1)

---

Top Contributors

[![imanghafoori1](https://avatars.githubusercontent.com/u/6961695?v=4)](https://github.com/imanghafoori1 "imanghafoori1 (29 commits)")[![mehradsadeghi](https://avatars.githubusercontent.com/u/31504728?v=4)](https://github.com/mehradsadeghi "mehradsadeghi (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

laravellaravel-testlaravel-testingphplaravellaravel-packagelaravel-testing

### Embed Badge

![Health badge](/badges/imanghafoori-laravel-makesure/health.svg)

```
[![Health](https://phpackages.com/badges/imanghafoori-laravel-makesure/health.svg)](https://phpackages.com/packages/imanghafoori-laravel-makesure)
```

###  Alternatives

[tightenco/duster

Automatic configuration for Laravel apps to apply Tighten's standard linting &amp; code standards.

5942.4M201](/packages/tightenco-duster)[nunomaduro/laravel-mojito

A lightweight package for testing Laravel views.

368435.5k11](/packages/nunomaduro-laravel-mojito)[calebdw/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

1484.6k3](/packages/calebdw-larastan)[salehhashemi/laravel-repository

Implementing the repository pattern for Laravel projects.

2010.5k](/packages/salehhashemi-laravel-repository)

PHPackages © 2026

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